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

fix(Dropdown): Dropdown with an Input (text) Item closed when clicked #2353

Closed
kourosz opened this issue Dec 4, 2017 · 1 comment
Closed

Comments

@kourosz
Copy link

kourosz commented Dec 4, 2017

Steps to Reproduce

  1. Create a dropdown with an Input item
  2. Open the dropdown
  3. Click on the Input item

Expected
The Dropdown should stay open and user should be able to enter the text

Result
The Dropdown is closed and user cannot enter anything

*Testcase
https://codepen.io/kourosz/pen/VrRaem

@brianespinosa
Copy link
Member

@kourosz The docs where your example come from have a note regarding this: https://react.semantic-ui.com/modules/dropdown#dropdown-example-search-in-menu

image

If you need a dropdown to behave differently than the default, you'll have to control the state yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants