-
Notifications
You must be signed in to change notification settings - Fork 613
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
IE11: Dropdown re-opens after selecting item #621
Comments
After some debugging I found that _onFocus() seems to be the cause here. After the item is selected by the user, the dropdown is hidden. Then, there's an _onFocus() call which in turn calls showDropdown(). I don't know why _onFocus() would be called here. My guess is that the component loses focus for an instant and gains it again - some IE quirk maybe? We could probably go ahead and disable the "show dropdown on focus" functionality programmatically (we don't really need it), but if anyone can think of a better, more general idea, that'd be great! |
The root cause seems to be a bugfix (29ab3ca) I believe the pull request should fix the side effect by making sure the mouse is on the scrollbar as a precondition for the fix. |
This issue in particular has been resolved |
Hello Community, I recognized the behavior still just get's triggered on a regular mouse click if you click the same item which is the current chosen one. If you hold the left mouse button (mousedown) for like 0.25s longer than an actual mouse click, the dropdown is going to work like it is intended and the dropdown is closing. I hope this information might help you to fix the issue. Best regards |
Happens randomly but frequently. Easy to replicate. Recorded directly from https://joshuajohnson.co.uk/Choices/:
Where should we start looking for the cause? Any pointers? Regards,
Sebastian
The text was updated successfully, but these errors were encountered: