Click outside element not working
See original GitHub issueWith option searchable={false}
click outside react-select
element doesnt close itself.
Is this intended behavior?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:8
- Comments:9
Top Results From Across the Web
How do I detect a click outside an element? - Stack Overflow
The first is that the link in the dialog isn't clickable. Attempting to click on it or tab to it will lead to...
Read more >How to Detect a Click Outside an Element - W3docs
One of the most common patterns used in JavaScript is detecting a click outside an element. You can apply it for closing a...
Read more >Detect clicks outside of an element - DOM-Tricks
To detect a click that occurs outside of an element, we add a click event listener to the entire document and then determine...
Read more >Creating An Outside Focus And Click Handler React Component
In this article, we'll look at how to create an outside focus and click handler with React. We will recreate an open source...
Read more >How to Detect a Click Outside of an Element with jQuery
Answer: Use the event.target Property ... You can use the event.target property to detect a click outside of an element such as dropdown...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why is this bug unconfirmed? It can be easily reproduced by passing
searchable={false}
as props. When clicked outside thereact-select
, the dropdown does not close.Version 1 of react-select is no longer supported.
In the best interest of the community we’ve decided to spend the time we have available on the latest version.
We apologise for any inconvenience.
Please see: