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))) {
}
Solution: https://github.com/JedWatson/react-select/issues/4560#issuecomment-830150593
I am really happy to contribute MR https://github.com/iamstevendao/vue-tel-input/pull/414
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
}