Blog page remains scrolled down after navigating to next page #53
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue URL:
https://www.topcoder.com/blog
Steps to reproduce
Actual result
improperly defined scroll behavior,scrolling or content-rendering logic after clicking page 2 or others doesnt scroll from top automatically after the user clicks.
Expected result
The JavaScript function responsible for handling the "Next" button's click event might be trying to scroll to a specific element, but the element doesn't exist or is not set up correctly. The content should be displayed from the top
Screenshots/Videos
Environment
OS and Browser version:Windows 10 pro Google chrome Version 140.0.7339.128 (Official Build) (64-bit)
Device: DESKTOP-A2KPPT3 Processor Intel(R) Core(TM) i5-9600 CPU
Reproducibility
Happens everytime
improperly defined scroll behavior,scrolling or content-rendering logic after clicking page 2 or others doesnt scroll from top automaticallyto Blog page remains scrolled down after navigating to next pageLet's use the behavior of the repository's issue list pagination (the one we are on right now) as a reference. When a user clicks to a new page, the view should automatically scroll to the top of the content.
Also, while working on the pagination component for this scroll fix, please review the suggestion in Issue #167 regarding adding First and Last page navigation links. It may be efficient to implement that enhancement at the same time.