-
Notifications
You must be signed in to change notification settings - Fork 67
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
Method to not lock mouseEvent focusing #176
Comments
Not something supported out of the box.
|
@theKashey Thank you! I used the second option and created onClickOutside useEffect to handle it :D |
🙄 Is it working for you? My advice was not supported by any real experiment. |
You can checkout the codesandbox, I updated it and made it into a FC so I can reuse it |
Amazing! Thank you @alexreardon for running into this issue, and helping @tounsoo to resolve theirs. |
We have a use case where we want to focusLock on tabs but not on mouse click.
Here is an example where we try to make that happen but the problem we are facing is that it will require 2 clicks to focus on the outside input. Any idea on how to make this happen without requiring 2 clicks?
https://codesandbox.io/s/hardcore-gagarin-mjh4v?file=/index.js
The text was updated successfully, but these errors were encountered: