Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should be able to stack radio buttons vertically #88

Open
certainlyakey opened this issue Apr 20, 2023 · 0 comments
Open

Should be able to stack radio buttons vertically #88

certainlyakey opened this issue Apr 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@certainlyakey
Copy link
Contributor

certainlyakey commented Apr 20, 2023

Summary

At the moment it is only possible to have radios in cvi-radio-group Sass mixin stacked horizontally.

It was requested that consumers of the library should be able to stack radio buttons vertically as well.

What alternatives have you tried?

Perhaps a cvi-track wrapper could be used with cvi-track--direction-vertical modifier class, wrapping the radio buttons. But it is ideal to keep code required for this basic functionality to the minimum.

Does this feature request involve any updates to the reference design?

No, but currently a design for a vertical radio buttons group is missing. We can assume the same gap would be used in the vertical configuration as the currently being used in the horizontal one.

Implementation details

A solution should not represent a breaking change - meaning by default radio buttons should still stack horizontally.

@certainlyakey certainlyakey added the enhancement New feature or request label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant