Skip to content

[navigation menu] Handle layout resize while open #2035

@atomiks

Description

@atomiks

Bug report

Current behavior

If the navigation menu is open and the layout of the popup changes due to window resize, the content remains clipped and doesn't resize, as the CSS variables don't recalculate. This is quite rare to see (unlike e.g. Collapsible), but is possible.

Didn't get time to resolve this edge case before release.

Expected behavior

The fixed width CSS variables should correctly adapt to resizing.

Base UI version

1.0.0-beta.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: navigation menuChanges related to the navigation menu component.type: bugIt doesn't behave as expected.

    Projects

    Status

    Recently completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions