Skip to content

Fix scrolling issues #217

@kmonahan

Description

@kmonahan

On some sites (seen on GPI and MySI), navigating to a new page does not scroll the user back to the top. However, this issue is not seen on the NYU sites.

  1. Determine the cause of the scrolling issues. It might be due to how Next.js handles navigation with the <Link> component, but if that is the case, why is it not seen on NYU?
  2. If the issue cannot be fixed by other means, backport the ScrollToTop workaround from MySI. The MySI version includes a fix to prevent unwanted scrolling on page refresh.

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