You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then when you click the new arrow icon, it will not open the country dropdown.
I found the related issue and the solution to fix it. Because the element is removed before it finishes running clickOutsideEvent. So, el.contains(event.target) always returns false
if (!(el === event.target || el.contains(event.target))) {
}
Hi,
Seem like changing the arrow icon can lead to this issue. Here is my example code:
Then when you click the new arrow icon, it will not open the country dropdown.
clickOutsideEvent
. So,el.contains(event.target)
always returnsfalse
Solution: JedWatson/react-select#4560 (comment)
I am really happy to contribute MR #414
The text was updated successfully, but these errors were encountered: