storybook
storybook copied to clipboard
[Bug]: SB8 Sidebar scrolls to selected story location when I try to scroll away
Describe the bug
When I try to scroll away, the sidebar automatically scrolls to the selected story.
From @JReinhold:
I see, this happens in published Storybooks as well, it's also easily triggered by just selecting another addon tab.
To Reproduce
What are the steps for reproducing the issue?
- In your local storybook
- Select a story toward the end of the sidebar list
- Try to scroll up on the sidebar, then change the addon panel position
- Watch the sidebar scroll back to position even when the user tries to scroll away
Note: This appears on published Storybooks
System
No response
Additional context
No response
@vanessayuenn @domyen I would like to solve this.
@syedbarimanjan Thank you for your interest in helping out! Be sure to check the contribution guide and hop onto the Storybook Discord if you need any help getting started. Looking forward to your PR! ✨