Skip to content

Command.List element steals focus on item click #370

@scamden

Description

@scamden

Having tabindex=-1 on the cmdk-list element means it can gain focus, which it does whenever I click an element within it. That means for elements that leave the palette open on select, I lose the ability to keep typing whenever i click one. Is there a reason to have tabindex=-1 on here? I don't believe it's part of the tab order naturally being a div.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions