Skip to content

No scrolling in edit mode when code block has any line with over 150 characters #2104

@Mindstormer619

Description

@Mindstormer619

Note: This may be related to #2080.

Current behavior

Scrolling using mouse wheel does not work in edit mode if there is any line within code block (triple-backtick) which has over 150 characters.

Weird thing is, this reduces to 80 characters when Developer Console panel is open. If I add one extra character, no longer scrolls.

image

Expected behavior

Scrolling should work regardless of line length.

Steps to reproduce

  1. Open a new Markdown document in Boostnote
  2. Create a code block with triple backticks (any language for syntax highlight)
  3. Type a line with 151 characters
  4. Try scrolling (Does not work!)
  5. Remove 1 character, try scrolling (works!)

Environment

  • Version : Boostnote 0.11.6
  • OS Version and name : Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issue concerns a bug.funded on issuehunt 💵Issue has received funding that will be rewarded to the contributor solving this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions