Order of block support panels is not consistent #63188
Labels
[Feature] Layout
Layout block support, its UI controls, and style output.
[Type] Bug
An existing feature does not function as intended
Description
Order of
support
panels is not consistent depending of how block is configured.For example if block has only "Styles" tab then order of supports is:
If we configure block to display "Settings" and "Styles" tab the order of supports is:
I would expect that support panels will render in the same order regardless of block configuration.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Block with only "Style" tab
![image](https://private-user-images.githubusercontent.com/2657856/346127618-2e92377f-8e06-4eaf-8a0a-7a64208e534c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwMzU1NTYsIm5iZiI6MTcyMTAzNTI1NiwicGF0aCI6Ii8yNjU3ODU2LzM0NjEyNzYxOC0yZTkyMzc3Zi04ZTA2LTRlYWYtOGEwYS03YTY0MjA4ZTUzNGMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTVUMDkyMDU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDRhY2MyMzA3MTAzMzhhNzcyYTJhZWQzYWNkZjM1OTIxMGYxY2YyMzAwMjI3MmU5NTRkMmYyZmRkNzk5ZWU1ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.kScuIte_hq57IgDY0T_h3Z3S3PNfnQhSI24EdH2Vs8E)
Block with "Settings" and "Style" tab
![image](https://private-user-images.githubusercontent.com/2657856/346127576-1d8a6cdd-78f2-461a-90c6-dabcda6fca11.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwMzU1NTYsIm5iZiI6MTcyMTAzNTI1NiwicGF0aCI6Ii8yNjU3ODU2LzM0NjEyNzU3Ni0xZDhhNmNkZC03OGYyLTQ2MWEtOTBjNi1kYWJjZGE2ZmNhMTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTVUMDkyMDU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmQ0ZWI4NTJjMTNkMTY3MzUwMWI5NDI0Nzk3YWIwOWEyM2VjNWE3ZmM1ZGI0Mzc0YjRhYTgwYWQ2ODY2ZWM3MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.aDy6KEjfqQZfDk32N-X1Iw-ptYE8sMqzl62Ohvl1kr8)
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: