Skip to content

Is there a way to limit the height of the selected items box and show a vertical scrollbar? #1691

@danielinteractive

Description

@danielinteractive

Apologies if this is a naive question, I am coming to selectize.js via R/Shiny so I am really a total newbie with all this.

Basically the question is: can we have a vertical scrollbar in the selected items in selectize.js? Currently we have the situation that the more items we select, they are all showing up in the box, and therefore the box becomes larger and larger - taking more and more vertical space.

Is there a css or js option we could use to set the maximum height of the selected items box and if that height is exceeded a vertical scrollbar is used?

Example:
image

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