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 was archived by the owner on Apr 18, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
Unable to remove selected item with delete key when <select multiple> #2032
Using the codepen below, try selecting 1 or 2 items, then focus a selected item and press the delete/backspace key. Instead of the item being removed (as I would expect), focus is brought to the dropdown.
Interestingly, if you bring focus outside of the input, then focus a selected item, it works as expected.
Looking at this a bit more, it appears that part of the issue derives from the fact that the dropdown is focused when items are added (it used to be that the input was focused). Is that intentional?
Activity
cpsievert commentedon Aug 23, 2023
Looking at this a bit more, it appears that part of the issue derives from the fact that the dropdown is focused when items are added (it used to be that the input was focused). Is that intentional?
workaround for selectize/selectize.js#2032
workaround for selectize/selectize.js#2032
cpsievert commentedon Sep 14, 2023
Just discovered that this isn't a problem using the development version (as of e3f2e0b). A new release would be very much appreciated!