Currently, when a parent toolbox category contains blocks alongside nested categories, reopening the parent category after dragging a block requires a double click, since the category is not collapsed automatically. This creates unnecessary friction.
{
kind: 'category',
name: 'Nested',
categorystyle: 'text_category',
contents: [
{
kind: 'block',
type: 'text',
},
{
kind: 'block',
type: 'text_join',
},
{
kind: 'category',
name: 'Nested Level 2',
categorystyle: 'text_category',
contents: [
{
kind: 'block',
type: 'text_join',
},
{
kind: 'block',
type: 'text_indexOf',
},
{
kind: 'block',
type: 'text_getSubstring',
},
{
kind: 'block',
type: 'text_changeCase',
}
]
}
]
}
],
};
Check for duplicates
Problem
No response
Request
Currently, when a parent toolbox category contains blocks alongside nested categories, reopening the parent category after dragging a block requires a double click, since the category is not collapsed automatically. This creates unnecessary friction.
Expected behavior:
More context in this group discussion.
Reproduction Steps
npx @blockly/create-package app hello-worldExample toolbox config:
screenrecording-2025-09-29_11-39-15.mp4