-
Notifications
You must be signed in to change notification settings - Fork 408
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
Menu does not close when using on reactstrap modal #775
Comments
Also opened a bug report on |
Hey @HansAarneLiblik thanks for opening this issue. I believe this is an issue with either Reactstrap or React-Overlays's |
@HansAarneLiblik This is not a reactstrap issue. This is a react problem. On React version 16.8 - worked. On React version >17 - not worked. |
I have an issue when using
react-bootstrap-typeahead
together withreactstrap
. (This works withreact-bootstrap
, but migrating would be a huge effort).When the
Typeahead
is on modal and menu is open, the menu won't close when clicking away from the component (As testable in codesandbox). Menu DOES close, when selecting an item though, but there are cases when user does not actually want to select anything.We could create a wrapper and handle menu open/close state ourselves, but would prefer not to, if possible
Version
6.0.2
Steps to reproduce
Sandbox: https://codesandbox.io/s/reactstrap-bug-lu30xq
Expected Behavior
Menu closes when focus is removed (Clicked anywhere on the modal, not backdrop)
Actual Behavior
Menu does not close
The text was updated successfully, but these errors were encountered: