Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

update Dropdown to accept maxHeight prop #785

Closed
plotly/dash
#2109
@pfbuxton

Description

@pfbuxton

It would be very useful (especially with long lists) to be able to change the height of the Dropdown - the default settings allow for 5.7 options to be shown (optionHeight=35 and maxHeight=200).

A similar issue has been resolved (#552) to allow the optionHeight prop to be passed, i.e.

dcc.Dropdown(
    id = 'dropdown_id',
    options = my_options,
    optionHeight = 35,
    # maxHeight = 80
),

so allow maxHeight to be passed in the same way.

See https://github.com/bvaughn/react-virtualized-select/blob/master/README.md#react-virtualized-select-props

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