-
Notifications
You must be signed in to change notification settings - Fork 405
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
Multiple Typeaheads not Closing Other Typeaheads (React 17) #695
Comments
Hi @dleavitt, thanks for the report! I can confirm the behavior you describe, and it looks like the bug is happening with v6 of this library as well. The problem most likely has something to do with changes to event delegation in React 17 but I'll need to dig a little deeper. |
The bug is happening because More specifically, |
Fixed in v5.2.2 and v6.0.0-alpha.9 |
thanks so much + appreciate the explanation! |
Version
react-bootstrap-typeahead 5.2.1 (6.0.0-alpha.8 also affected)
react 17.0.1
react-dom 17.0.1
Steps to reproduce
Go here: https://codesandbox.io/s/rbt-multi-not-closing-forked-ppj01
Expected Behavior
The third typeahead should close.
Actual Behavior
The third typeahead stays open, obscuring the second.
Behaves as expects when:
multiple={false}
The text was updated successfully, but these errors were encountered: