Skip to content

Editor scrolling doesn‘t work on mobile devices #4466

Description

@BnAmN

Describe the Bug

On mobile devices (and mobile-sized desktop browsers) it‘s not possible to scroll the Markdown editor vertically (using touch or mouse wheel) if there are more lines than the viewport can display.

I‘m encountering this issue for a while now, but sadly I can‘t really tell the version I first encountered it. But it was definitely working fine in earlier versions.

I was able to workaround the issue by adding the following CSS:

.markdown-editor-wrap {
  height: 100%;
}

Steps to Reproduce

  1. Use a mobile device (or a mobile-sized desktop browser)
  2. Open a Book
  3. Enter „Edit“ mode
  4. In case there aren‘t enough lines: add some new lines until you leave the bottom of the screen
  5. Try to scroll down to the bottom line

Expected Behaviour

The editor is vertically scrollable.

Screenshots or Additional Context

No response

Browser Details

Any browser

Exact BookStack Version

v23.06.2

PHP Version

8.1

Hosting Environment

Docker

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions