Skip to content

Options added to an empty (or cleared) OptionList after mount are not displayed. #5794

Open
@rephorm

Description

@rephorm

OptionList._update_lines() exits early if the scroll region has zero height, which can be the case when called from add_options() after mount.

Fix is to refresh the layout before _update_lines().

Filing issue to attach a PR to.

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