Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon-docs: Fix DocsPage scroll behavior #12047

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

lisamartin00
Copy link
Contributor

@lisamartin00 lisamartin00 commented Aug 15, 2020

Issue: #12042

What I did

Modified the scroll logic for first stories in the view

How to test

I believe the most appropriate way to test this is just go simply go to http://localhost:9011/?path=/docs/docs-docspage--with-subtitle and verify that the view does not scroll (as opposed to the behavior described in the issue linked above). You should also be able to click around on other stories within that group and go back and forth between the "Canvas" and "Docs" tab and have everything behave as expected.

  • Is this testable with Jest or Chromatic screenshots? No
  • Does this need a new example in the kitchen sink apps? No
  • Does this need an update to the documentation? No

If your answer is yes to any of these, please make sure to include it in your PR.

@shilman shilman changed the title fix issue #12042 DocsPage: Fix scroll behavior Aug 15, 2020
@stale
Copy link

stale bot commented Sep 5, 2020

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Sep 5, 2020
@stale stale bot removed the inactive label Sep 8, 2020
@shilman shilman added this to the 6.1 docs milestone Sep 8, 2020
@shilman
Copy link
Member

shilman commented Sep 8, 2020

@yannbf can you pick this up?

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @lisamartin00, sorry for the slow turnaround on this. Looking great, thanks so much for fixing the problem!

@shilman shilman changed the title DocsPage: Fix scroll behavior Addon-docs: Fix DocsPage scroll behavior Sep 11, 2020
@shilman shilman merged commit 9e483e2 into storybookjs:next Sep 11, 2020
@lisamartin00 lisamartin00 deleted the bug/docs-scroll branch September 11, 2020 16:05
@lisamartin00
Copy link
Contributor Author

No worries @shilman - you guys are a busy team! thanks for getting it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants