Open spone379 opened 9 months ago
When using menuPlacement="auto" on a menu and it's rendered at the top with a scroll, hovering over the last item causes the scroll to jump unexpectedly.
menuPlacement="auto"
The scroll should remain stable when hovering over the last item in the menu.
I recorded video using an Portaling example from the official website https://react-select.com/advanced#portaling
https://github.com/JedWatson/react-select/assets/17438575/c9b71aff-7487-42a1-a432-3f26f72e83ce
I can help with this issue!
Problem
When using
menuPlacement="auto"
on a menu and it's rendered at the top with a scroll, hovering over the last item causes the scroll to jump unexpectedly.Expected Behavior
The scroll should remain stable when hovering over the last item in the menu.
How to reproduce
I recorded video using an Portaling example from the official website https://react-select.com/advanced#portaling
https://github.com/JedWatson/react-select/assets/17438575/c9b71aff-7487-42a1-a432-3f26f72e83ce