WordPress / WordPress/pattern-directory

Browse all button in the block inserter is not working in new pattern editor.

Open
#757 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
134
Forks
46
Avg merge
9h 4m
Merged PRs (30d)
19

Description

creating a new pattern in the Pattern Directory, the "Browse all" button in the block inserter doesn't respond when clicked.

In the regular WordPress editor, clicking this button expands the inserter and displays all available blocks. However, that doesn't happen here.

I tested this on both desktop and mobile devices and was able to reproduce the issue consistently. I've attached screen recordings from both devices.

Steps to reproduce:

  1. Open the Pattern Directory editor.
  2. Open the block inserter.
  3. Click the "Browse all" button.
  4. Notice that nothing happens.

Expected behavior:
The block inserter should expand and display all available blocks.

Actual behavior:
Nothing happens when the button is clicked.

https://github.com/user-attachments/assets/e71c9e0f-f0fa-4060-8638-77285fae73f1

https://github.com/user-attachments/assets/33da8f5b-592c-4d9a-b358-89042766dbf0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin at the Pattern Directory editor's block inserter and compare its Browse all behavior with the regular WordPress editor. Reproduce the issue using the listed steps on desktop and mobile; done means Browse all expands the inserter and displays all available blocks in both environments.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.