Skip to content

[Feature Request] Feedback on the dcc.Dropdown from dash==4.0.0rc2 #3510

@petar-qb

Description

@petar-qb

Hi Dash team 👋

The new components implementations introduced in dash==4.0.0rc2 are fantastic and we in Vizro are excited to adopt them as soon as they’re officially released in dash==4.0.0.

I’m reposting my earlier comment here for better visibility, since the original ticket is now closed. Also, following @AnnMarieW's suggestion on the Plotly forum, I’m moving the discussion here.

I noticed a couple of small inconsistencies in the updated Dropdown that might be worth checking out:

  1. I agree with Ghaarsma’s point about the new reordering of selected options for Dropdown(multi=True). It would be great if this new ordering behaviour were configurable, either opt-in or opt-out. Both approaches would work for us.
  2. When using Dropdown(multi=True), the "search" field automatically receives focus, but this doesn’t happen with the Dropdown(multi=False). Not sure if this is intentional, although it feels a bit inconsistent.
  3. Pressing Enter key while an option is focused doesn’t toggle selection, so selecting or deselecting via keyboard isn’t possible.

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