Layout builder block list filter struggles when there are many blocks in the list

Created on 2 January 2024, 11 months ago
Updated 6 June 2024, 5 months ago

Problem/Motivation

We have an enterprise level number of blocks that can be placed in layout builder. All recent browsers struggle when filtering the list.

(Tested on Chrome 122)

Steps to reproduce

  1. Have a large number of blocks in the list
  2. filter the block list

Proposed resolution

When I looked at this issue, I think the problem is reading and writing to the DOM multiple times for every element (block item). I think this is causing layout thrashing.

๐Ÿ› Bug report
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Layout builderย  โ†’

Last updated about 4 hours ago

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States ZHawkins

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024