Skip to content

Nested SubMenu's are hidden if the ul has y-scrolling #17

Description

@joshkarges

How To Reproduce

Try the storybook demo: https://kontentino.github.io/react-multilevel-dropdown/?path=/story/dropdown--default

Open up the dev tools console, and set this style on the ul element:

    max-height: 90px;
    overflow-y: auto;

Now when you try to open up the subMenu, it's hidden.

I haven't found a good way to solve this. This comes close, but relies on very fragile CSS and updating the position of the subMenu regularly: https://css-tricks.com/popping-hidden-overflow/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions