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

["short description"] when user clicks a new side nav link, auto scroll to top of new page instead of staying at the same spot on the page #4403

Closed
jknilans opened this issue Dec 4, 2024 · 1 comment

Comments

@jknilans
Copy link
Contributor

jknilans commented Dec 4, 2024

Is this a new page or a change to an existing one?
This is a change to all the existing pages on the PatternFly 6 website. The previous versions of the website have the correct interaction and don't need to be updated.

Describe the enhancement
Currently the default behavior when a person clicks from one detail page to another is to land the user at the same scroll position as the previous page they were on. So for example, if I was at the bottom of of the "Modal" page, and click the link to view the detail page for "Alert" or "About tokens" etc, the first thing I see when the new page loads is the the bottom of the new page because we keep the same scroll position when moving from one page to another. Users should instead be scrolled to the top of the new page so they can immediately identify where they are and what they're viewing instead of landing halfway down the page and losing context of what the page name is.

This behavior happens on all sub pages on the PatternFly website.

Are there visuals for this enhancement? If applicable, please include examples for each state and for varying widths
No visual changes needed, just an updated interaction is needed to scroll to the top of the new page when a nav link is clicked.

Any other information?
Here's a link to to the current behavior. RH authentication needed to view video. Thanks!

@edonehoo
Copy link
Collaborator

Closing: this fix is slated for release before the end of the year!

@github-project-automation github-project-automation bot moved this from Needs triage to Done in PatternFly Issues Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: No status
Development

No branches or pull requests

2 participants