storybook icon indicating copy to clipboard operation
storybook copied to clipboard

[Bug]: SB8 Sidebar scrolls to selected story location when I try to scroll away

Open domyen opened this issue 1 year ago • 2 comments

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.

2024-02-12 15 58 12-1

2024-01-25 15 06 28

To Reproduce

What are the steps for reproducing the issue?

  1. In your local storybook
  2. Select a story toward the end of the sidebar list
  3. Try to scroll up on the sidebar, then change the addon panel position
  4. 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

domyen avatar Feb 13 '24 18:02 domyen

@vanessayuenn @domyen I would like to solve this.

syedbarimanjan avatar Feb 18 '24 16:02 syedbarimanjan

@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! ✨

vanessayuenn avatar Feb 19 '24 13:02 vanessayuenn