Skip to content

Improve performance of List View drag and drop #25067

@talldan

Description

@talldan

Describe the bug
The performance for drag and drop in List View (currently enabled on the experimental navigation page) deteriorates significantly in relation to the number of blocks present, in contrast to the general editor canvas.

I've noticed a few things that can be improved. A big on seems to be that useDropZone is continually

To reproduce
Steps to reproduce the behavior:

  1. Open the experimental navigation page
  2. Add lots of blocks (duplicating is the easiest way to do this)
  3. Try dragging and dropping in list view

Expected behavior
Observe the updates to the drop zones and draggable chip become very laggy.

Metadata

Metadata

Assignees

Labels

[Feature] Drag and DropDrag and drop functionality when working with blocks[Feature] List ViewMenu item in the top toolbar to select blocks from a list of links.[Status] In ProgressTracking issues with work in progress[Type] PerformanceRelated to performance efforts

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions