Skip to content

Comments pagination resets scroll position to top of page #14987

@gobardan1707

Description

@gobardan1707

Describe the bug
When navigating to another page in the comment section (e.g., page 2, 3), the entire page scrolls back to the top instead of staying in the comments area.

To Reproduce
Steps to reproduce the behavior:

  1. go to resources
  2. Scroll down to the comments section.
  3. click on “2” (or “3”) in pagination.
  4. Observe the page scrolls up.

Expected behavior
The scroll should remain at the comment section after pagination so users don’t lose context.

Screenshots

screen-capture.10.webm

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.


🚨 DO NOT EDIT BELOW THIS LINE 🚨

Instructions for Requesting Assignment:

To request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:

Describe your solution clearly:
Provide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.

Expected Timeline:

  • End date: [Expected submission date of a completed Pull Request]

Additional Context:
Include any other relevant context, links, screenshots, or resources that support your proposed solution.

🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions