You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've stumbled upon a bug where the "scroll option into view" feature does not work for portaled menus.
Although, it seems to work fine for non-portaled menus.
Affected Versions
I've found this issue to have been introduced in v4, and it is still present in v5.
Screen recording
How to reproduce the bug
Open the official docs
The same can be reproduced on the Storybook
Navigate to Advanced > Portaling
Open the Modal and its inner Menu
Scroll down and pick an option that is outside of the initial scroll position
The last option for example - Silver
Close the menu and open it again
The menu will not scroll back to the selected option
What is the expected behavior
The menu should scroll back to the selected option
Notes
I have taken a look into the code and did not manage to find the issue. I wouldn't mind doing the PR myself if anyone can manage to point me in the right direction.
The text was updated successfully, but these errors were encountered:
Description
I've stumbled upon a bug where the "scroll option into view" feature does not work for portaled menus.
Although, it seems to work fine for non-portaled menus.
Affected Versions
I've found this issue to have been introduced in
v4
, and it is still present inv5
.Screen recording
How to reproduce the bug
Advanced
>Portaling
Silver
What is the expected behavior
The menu should scroll back to the selected option
Notes
I have taken a look into the code and did not manage to find the issue. I wouldn't mind doing the PR myself if anyone can manage to point me in the right direction.
The text was updated successfully, but these errors were encountered: