-
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 maintainermenu-bugAddresses menu positioning, scrolling, or general interactionsAddresses menu positioning, scrolling, or general interactions
Description
Are you reporting a bug or runtime error?
A Bug
For some reason the menu is misaligned slightly to the left when using the body as a menuPortalTarget
and setting the menuPlacement
to auto, I'm not sure why this is the case and it only seems to happen in a specific layout (select on the right bottom), it seems like it could be adjusting for a potential scrollbar or something. When you hover over the items, the menu suddenly jumps to the correct position.
https://codesandbox.io/s/react-select-v3-sandbox-forked-d5txb?file=/example.js
Thanks for your work on the library!
HarryHoudini
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 maintainermenu-bugAddresses menu positioning, scrolling, or general interactionsAddresses menu positioning, scrolling, or general interactions