List View: Dragging a large number of blocks at once throws the windowing logic #56361
Labels
[Feature] List View
Menu item in the top toolbar to select blocks from a list of links.
[Type] Bug
An existing feature does not function as intended
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
The text was updated successfully, but these errors were encountered: