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

Dropdown: allow user to disable automatic active state #443

Open
sohkai opened this issue Aug 10, 2019 · 1 comment

Comments

@sohkai
Copy link
Member

commented Aug 10, 2019

In some cases, the dropdown may not want to have a default active state, with the border. Usually this would be when it's not used as a filter, but as an item selector:

Screen Shot 2019-08-10 at 1 35 18 PM

If this behaviour is only desired for filters, it may make sense to only enable it with a prop?

@bpierre

This comment has been minimized.

Copy link
Member

commented Aug 10, 2019

Yes I was thinking about it recently, I think we need to have a way to:

  • Have an item selected (usually the first one), rather than a placeholder.
  • Without having the selected state visible, until the user selects one.

Actually that could even be the default, and we could have a prop to get the current behavior.

@luisivan luisivan referenced this issue Aug 18, 2019
31 of 55 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.