-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Order of InspectorControls panels is non-deterministic #15641
Copy link
Copy link
Open
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] ExtensibilityThe ability to extend blocks or the editing experienceThe ability to extend blocks or the editing experience[Feature] Inspector ControlsThe interface showing block settings and the controls available for each blockThe interface showing block settings and the controls available for each block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Metadata
Metadata
Assignees
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] ExtensibilityThe ability to extend blocks or the editing experienceThe ability to extend blocks or the editing experience[Feature] Inspector ControlsThe interface showing block settings and the controls available for each blockThe interface showing block settings and the controls available for each block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
The order of panels within
InspectorControlsis non-deterministic and changes depending on whether you are editing an existing block or a freshly inserted one.To reproduce
Steps to reproduce the behavior:
Expected behavior
The order should always be the same so that it can be deterministic.
Otherwise this not only confuses users, it also makes it harder to target individual controls via CSS to hide them (because there is still no API for that)
Screenshots
Freshly inserted block:
After selecting the block again:
Desktop (please complete the following information):
Chrome 74 on macOS Mojave
Additional context
Gutenberg 5.7 RC 1