-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
issue/bug-confirmedIssues about a bug that has been confirmed by a maintainerIssues about a bug that has been confirmed by a maintainer
Description
Hi, I'm using menuPortalTarget to render outside of containers with overflow hidden such as table rows. In order for the menu position to be correct I have to set menuPosition to fixed. This works great except when you scroll the page and the menu position is not recalculated. To fix this I then use menuShouldBlockScroll which in combination with the other props achieves the desired result except for the fact that menuShouldBlockScroll also blocks the menu (has max-height with scroll auto) contents from being scrollable.
Would it be possible to prevent scrolling for all elements except for .react-select__menu-list
?
Metadata
Metadata
Assignees
Labels
issue/bug-confirmedIssues about a bug that has been confirmed by a maintainerIssues about a bug that has been confirmed by a maintainer