Skip to content

[Menu] not getting correct dimensions if is display: none on initial render #415

@omerts

Description

@omerts

Hello,

I am using the Menu element, but after the first render the menu is hidden using display:none.
After the component mounts, you are setting the this._initialMenuHeight, which is 0 at this point, and it never changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions