Skip to content

Page randomly jumps back to top when scrolling #2957

Open
@mmouseenvelope12

Description

@mmouseenvelope12

Bug description

After scrolling down, pages will sometimes jump back to the top.

How to reproduce

  1. Load a scrollable page such as https://docs.gitbook.com/creating-content/formatting/inline
  2. X out of the cookies notification
  3. Wait a few seconds
  4. Scroll down.
  5. Observe that the window jumps back to the very top of the page

It happens roughly 25% of the time. If it doesn't happen the first time, navigate to a different page and try again.

We're reproduced on macs, PCs, and across multiple browsers including Chrome and Safari.

Seems to affect all spaces/docs published on gitbook.

Additional context

Screen recording of the issue. It happens on the second attempt.

Untitled-HD.1080p.mov

Clients are complaining and blaming us. Please fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions