Filter by block name does not hide elements with layout-builder-browser-block-item

Created on 1 November 2024, 21 days ago

Problem/Motivation

When using the `layout-builder-block-link`, an additional wrapper element is added, causing empty `div.layout-builder-browser-block-item` elements to remain visible after filtering by block name in the search function. In our project, these elements display as visible boxes, which stands out clearly on the interface. This issue is noticeable in browser view (see attached image).

Steps to reproduce

1. Update to the latest version.
2. Add a new block.
3. Use the search field to filter blocks by name.
4. In Inspector, inspect to verify that `layout-builder-browser-block-item` elements are not hidden.

Proposed resolution

Update the JavaScript to ensure these elements are hidden as well.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.7

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024