Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.
This repository was archived by the owner on May 12, 2026. It is now read-only.

Checking a Checkbox Triggers Scrolling to Caret Location #3706

Open

Description

@hinder90

Current behavior

In dual-pane view, checking a checkbox will cause the preview pane to immediately scroll to wherever the caret is located in the markdown editor view.

Expected behavior

When checking a checkbox in the preview pane, it shouldn't actually move.

Steps to reproduce

Preconditions:

  • Enable "When scrolling, synchronize preview with editor" setting
  • In order to easily test, open a document that is:
    • Two or more times as long as the markdown editor pane
    • Contains checkboxes throughout the document, at minimum one near both the beginning and end of the document
  1. In the markdown pane either place the caret or select the text at any location in your document.
  2. Scroll to a checkbox in the preview pane that requires scrolling away from the caret's location.
  3. Check the checkbox.

The preview pane will then jump to wherever the caret is located. (If you do not place the caret after opening the document, it will be at the beginning of the document.)

Environment

  • Boostnote version: 0.16.1
  • OS version and name: MacOS 11.3.1

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions