Skip to content

Menu does not follow component when scrolling #3734

@matiosfree

Description

@matiosfree

Hey guys. I found the issue when I'm adding these 2 props:
menuPosition="fixed" portalPlacement="auto"

Then I open the menu and start scrolling the main scroll (not the menu scroll).
The menu stays in the same place.
Ex.: https://codesandbox.io/s/react-codesandboxer-example-39q8c

I expect the menu to follow the main component.

PS. I'm using this Sekect in material-ui Dialog with long item list, that's why I need menuPosition="fixed" prop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/bug-confirmedIssues about a bug that has been confirmed by a maintainer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions