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
{{ message }}
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
If the dropdown is open (options list being shown), when clicking outside the container, the focus on the element that was clicked is lost.
In other words, if I click the select box to select an option then change my mind and click another field in the form (while the dropdown/options list is shown), the focus in that new field is lost.
Currently, in the code it's doing the following: document.addEventListener("click", this.events.dismiss);
If I replace with the following, it seems to fix the issue: document.addEventListener("mousedown", this.events.dismiss);
Any thoughts?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If the dropdown is open (options list being shown), when clicking outside the container, the focus on the element that was clicked is lost.
In other words, if I click the select box to select an option then change my mind and click another field in the form (while the dropdown/options list is shown), the focus in that new field is lost.
Currently, in the code it's doing the following:
document.addEventListener("click", this.events.dismiss);
If I replace with the following, it seems to fix the issue:
document.addEventListener("mousedown", this.events.dismiss);
Any thoughts?
The text was updated successfully, but these errors were encountered: