Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flicker when setting sidebar scroll position #2104

Merged
merged 1 commit into from
Jun 25, 2023

Commits on Jun 22, 2023

  1. Fix flicker when setting sidebar scroll position

    Previously, sidebar scroll was set in an external script which caused a
    flicker as the sidebar is initially rendered without any scroll before
    being scrolled to the desired location.
    
    Switching to an inline script right after the HTML tags for the sidebar
    seems to avoid the flicker in most cases. In addition, logic is added to
    avoid scrolling jumps when navigating via links within the sidebar.
    zqianem committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    72b3227 View commit details
    Browse the repository at this point in the history