Block inserter is empty when a sidebar contains no widgets #32931
Labels
[Feature] Widgets Customizer
Ability to add and edit blocks in Customize → Widgets.
[Feature] Widgets Screen
The block-based screen that replaced widgets.php.
[Package] Edit Widgets
/packages/edit-widgets
[Status] In Progress
Tracking issues with work in progress
Description
When a sidebar has no widgets, clicking on the block inserter shows an empty list. This only happens on the Widgets screen in the admin area. In the Customizer, the behavior does not happen.
This was originally reported in Trac-53460.
Step-by-step reproduction instructions
It can also be seen by clicking the block inserter at the top of the screen directly.
Expected behaviour
All available blocks are displayed in the block insserter.
Actual behaviour
No blocks are displayed.
Screenshots or screen recording (optional)
WordPress information
Device information
The text was updated successfully, but these errors were encountered: