You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When editing a long page and using the shortcut ctrl + opt + z to remove a block at the end of the page with at least two more blocks below it and then clicking on a block lower than the one you removed you’ll get scrolled up to the top of the page. It only happens sometimes though. I’m not sure what the exact conditions are to trigger it but I’m able to get it to happen semi-consistently as you can see in the video.
To reproduce
Steps to reproduce the behavior:
Create a new page that is long enough to need you to scoll to edit the bottom of it.
Add some paragraph blocks with any text in them (“asdf” will do)
Use the keyboard shortcut to remove the second to last block
Click the last block on the page (or the “Start writing…” block)
You'll see that the block you clicked is selected but sometimes you get scrolled to the top of the page.
Expected behavior
The block you clicked is now selected and in view
@jasmussen had some ideas about what might be going on here:
I've seen some similar jumpiness in various situations and found it equally hard to reproduce. I've seen it when entering or exiting selection mode (press Escape when editing a block).
I believe the issue is possibly related to focus briefly landing on the parent container, therefore scrolling the viewport there.
Describe the bug
When editing a long page and using the shortcut ctrl + opt + z to remove a block at the end of the page with at least two more blocks below it and then clicking on a block lower than the one you removed you’ll get scrolled up to the top of the page. It only happens sometimes though. I’m not sure what the exact conditions are to trigger it but I’m able to get it to happen semi-consistently as you can see in the video.
To reproduce
Steps to reproduce the behavior:
You'll see that the block you clicked is selected but sometimes you get scrolled to the top of the page.
Expected behavior
The block you clicked is now selected and in view
Screenshots
Video: https://d.pr/v/hw4ZPQ
Desktop:
Additional context
The text was updated successfully, but these errors were encountered: