Skip to content

Scrolling up on narrow screen causes jumps when sidebar handle moves #2785

Closed

Description

@JirkaDellOro

Description

An a smartphone or the emulation of it, the sidebar is collapsed and its handle moves to the bottom or the top of the screen when scrolling the text in the main window. Sometimes it even moves off the screen. However, sometimes it jumps back towards the vertically centered position, taking the whole text with it, making it annoying to scroll.

Expected behavior

Best would be, if the handle stays vertically in the center.

Actual behavior

see description

Steps to reproduce

  1. open e.g. www.das-inklusive-neutrum.de
  2. on a desktop machine open the developer tools and start an smartphone emulation with a narrow screen so that the sidebar collapses
  3. scroll down and then slowly scroll up and see the text twitch

Environment

No response

Additional Information

  • Bug still occurs when all/other plugins are disabled?

Activity

  1. self-assigned this
    on Aug 12, 2026
  2. sy-records commented on Aug 12, 2026

    @sy-records
    Member

    Thank you for your feedback.

    The issue was caused by excessively long links in your content that weren't wrapped to the next line on mobile devices, causing the content to overflow. This has been fixed in #2786.

  3. JirkaDellOro commented on Aug 13, 2026

    @JirkaDellOro
    Author

    I tried it with the version found in the example

    <script src="https://docsify-preview-git-fork-sy-records-fix-2785-docsifyjs.vercel.app/dist/docsify.min.js"></script>

    The issue remains. Scrolling up appears a bit better, but scrolling down actually worse.

  4. sy-records commented on Aug 13, 2026

    @sy-records
    Member

    CSS issue—you're referencing a JavaScript file.

  5. JirkaDellOro commented on Aug 13, 2026

    @JirkaDellOro
    Author

    Yes, I just figured. I downloaded the fixed stylesheet now and will use it until the fix is in the official release.

    Thanks a lot!

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

Metadata

Metadata

Assignees

Labels

bugconfirmed as a bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions