Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking a Checkbox Triggers Scrolling to Caret Location #3706

Open
hinder90 opened this issue May 28, 2021 · 0 comments
Open

Checking a Checkbox Triggers Scrolling to Caret Location #3706

hinder90 opened this issue May 28, 2021 · 0 comments

Comments

@hinder90
Copy link

hinder90 commented May 28, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant