-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
🦉 pre-release🐛 bugSomething isn't workingSomething isn't working🔭 area/muya🦏 list blocklist bug and issuelist bug and issue
Description
Description
The preview editor jumps to the last cursor if you toggle a task-list item if the editor has a scrollbar.
Steps to reproduce
Copy the example below and fill [...] with task-list items so you have a scrollbar and the normal list below is not visible when toggle the checkbox.
- Set cursor via mouse click behind
foobar. - Scroll to top (the bullet list should not be visible) and don't click anywhere (e.g. use scroll-wheel).
- Toogle a task-list checkbox.
- [ ] foo
- [ ] foo
[...]
- [ ] foo
---
- bar
- bar
- bar
- bar
- bar
- bar
- foobar
- bar
Expected behavior:
The checkbox should be toggled.
Actual behavior:
The checkbox is toggled and the editor scroll foobar into screen.
Versions
- Mark Text: v0.16.0-rc2
- Operating system: all
Metadata
Metadata
Assignees
Labels
🦉 pre-release🐛 bugSomething isn't workingSomething isn't working🔭 area/muya🦏 list blocklist bug and issuelist bug and issue