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
Describe the bug sl-blur event on <sl-select> is fired when the menu is still open. It fires when the cursor moves out of the trigger element. Instead, it should be fired only after the menu is closed by moving the focus to another element (click elsewhere, TAB, ...).
To Reproduce
I prepared example in Lit playground: example
Expected behavior <sl-select> should lose focus after the menu is closed by for example clicking somewhere else.
Desktop (please complete the following information):
OS: Windows 10
Browser chrome
Version 90.0.4430.212
Additional context
Included example shows the difference in the behavior compared to standard <select> by counting blur occurrences.
The text was updated successfully, but these errors were encountered:
Describe the bug
sl-blur
event on<sl-select>
is fired when the menu is still open. It fires when the cursor moves out of the trigger element. Instead, it should be fired only after the menu is closed by moving the focus to another element (click elsewhere, TAB, ...).To Reproduce
I prepared example in Lit playground: example
Expected behavior
<sl-select>
should lose focus after the menu is closed by for example clicking somewhere else.Desktop (please complete the following information):
Additional context
Included example shows the difference in the behavior compared to standard
<select>
by countingblur
occurrences.The text was updated successfully, but these errors were encountered: