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

closeOnBlur={false} doesn't work #1995

Closed
a-x- opened this issue Aug 23, 2017 · 2 comments · Fixed by #1998
Closed

closeOnBlur={false} doesn't work #1995

a-x- opened this issue Aug 23, 2017 · 2 comments · Fixed by #1998

Comments

@a-x-
Copy link

a-x- commented Aug 23, 2017

Steps

  1. add closeOnBlur={false} to dropdown
  2. blur dropdown by outside click or esc

Expected Result

popup will not be closed

Version

0.68.5

Testcase

try it out in your documentation: https://react.semantic-ui.com/modules/dropdown#dropdown-example-close-on-blur

@lottamus
Copy link
Contributor

Fixed with #1998

@a-x-
Copy link
Author

a-x- commented Aug 24, 2017

We'll check it soon, thank you so much for fast reaction!

levithomason pushed a commit that referenced this issue Aug 27, 2017
fix(Dropdown): remove event listener if closeOnBlur={false}
test(Dropdown): add a test for closeOnBlur={false}

fixes #1995
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

Successfully merging a pull request may close this issue.

2 participants