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
If you have a very long post with heaps of blocks, and then go to drag a large selection of blocks (that scrolls off the edge of the list view screen), then the windowing logic becomes confused, resulting in blocks in the list becoming hidden.
I think this is likely to do with the visibility calculation incorporating dragged blocks, as they used to be hidden from view. I imagine the solution might be to update some of the calculations to no longer factor in dragged blocks.
Another possible cause could be if the selection contains blocks that fall outside the current visible window of blocks?
Step-by-step reproduction instructions
Add a large number of blocks to a post (i.e. > 60)
Select a large number of them from somewhere around the middle (but not all), say 30 or so, enough to go off the top edge of the screen
Go to drag them, and see what happens to the block beneath the dragged blocks — they will likely become hidden
Screenshots, screen recording, code snippet
2023-11-21.16.51.01.mp4
Environment info
WP 6.4.1
Gutenberg trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Description
If you have a very long post with heaps of blocks, and then go to drag a large selection of blocks (that scrolls off the edge of the list view screen), then the windowing logic becomes confused, resulting in blocks in the list becoming hidden.
I think this is likely to do with the visibility calculation incorporating dragged blocks, as they used to be hidden from view. I imagine the solution might be to update some of the calculations to no longer factor in dragged blocks.
Another possible cause could be if the selection contains blocks that fall outside the current visible window of blocks?
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
2023-11-21.16.51.01.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes