Checking a Checkbox Triggers Scrolling to Caret Location
hinder90 opened this issue · 0 comments
hinder90 commented
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
- In the markdown pane either place the caret or select the text at any location in your document.
- Scroll to a checkbox in the preview pane that requires scrolling away from the caret's location.
- 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