Skip to content

Scrolling with longer side navigation causes rubber-banding #905

Description

@spiritedsnowcat
Versions
  • BookStack Version: v0.22.0-release
  • PHP Version: v7.2.6-nts
  • MySQL Version: v8.0.11-community
Expected Behavior

For a page with no scrollable content and a long book navigation that causes scrolling for the page, the user should be able to scroll to the bottom of the page and view the rest of the book navigation panel in the side menu.

Current Behavior

Attempting to scroll causes rubber-banding, where the user is taken back to the top of the page. As the user attempts to scroll, it keeps glitching them up back to the top of the page, causing the website to shutter / rubber-band violently. On smaller screens, the book navigation will be cut.

Steps to Reproduce
  1. Create a new page in a chapter with many pages added.
  2. Edit the page to display a limited amount of content (that would not scroll otherwise). I added 3 subheaders to mine.
  3. Attempt to scroll, with the book navigation section requiring scrolling.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions