-
Notifications
You must be signed in to change notification settings - Fork 841
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
[EuiComboBox] Shouldn't create pill when the window focus is changed #1801
Comments
It also happens when you just use only use tabs to escape the current combo box |
That interaction is by design, but is definitely the root cause of the reported bug. |
@theodesp Here's some discussion around the original change that added this "create pill on blur behavior": #1353. @chandlerprall I wonder if the Page Visibility API can help us here? Looks like it has broad browser support. |
@cjcenizal page visibility api was my first thought too, though I believe it won't cover all use cases (e.g. tabbing between side-by-side windows). |
Closing this as won't fix / not planned due to the age of the issue and the lack of other reports. I'd also be concerned at this point that removing the |
To reproduce, create some input the combo box but don't hit enter. Give another OS-level window focus, e.g. by command-tabbing to another browser window. When you return to the page with the combo box, a new pill will have been created but ideally we should have preserved the user's input without creating a pill yet.
The text was updated successfully, but these errors were encountered: