Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
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

Closed

Description

@cpsievert

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.

https://codepen.io/cpsievert/pen/QWzWmvX?editors=1111

Here's a screen recording --

selectize-bug

Activity

  1. cpsievert commented on Aug 23, 2023

    @cpsievert
    ContributorAuthor

    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?

  2. cpsievert commented on Sep 14, 2023

    @cpsievert
    ContributorAuthor

    Just discovered that this isn't a problem using the development version (as of e3f2e0b). A new release would be very much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions