Skip to content

Scrolling up when undo is pressed #3326

Description

@brurnt

Describe the Bug

When you press Ctrl+Z text formated as code block disappears for an millisecond and reappears. That causes the page to scrolls as far up as the page without code blocks would look like.

Steps to Reproduce

  1. Write some text with code blocks between
  2. Press Ctrl+Z

Expected Behaviour

Text should not disappear/Site should not move

Screenshots or Additional Context

Seite._Neue.Seite_.bearbeiten._.Wiki.Mozilla.Firefox.2022-03-12.23-00-24_Trim.mp4

Browser Details

Firefox 98.0 (64-bit) on Windows 10

Exact BookStack Version

v22.02.3

PHP Version

No response

Hosting Environment

Docker-compose on Raspberry Pi 4B with Raspberry Pi OS Lite

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