Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of block support panels is not consistent #63188

Open
Dartui opened this issue Jul 5, 2024 · 0 comments
Open

Order of block support panels is not consistent #63188

Dartui opened this issue Jul 5, 2024 · 0 comments
Labels
[Feature] Layout Layout block support, its UI controls, and style output. [Type] Bug An existing feature does not function as intended

Comments

@Dartui
Copy link

Dartui commented Jul 5, 2024

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:

  1. Color
  2. Dimensions
  3. Border
  4. Background / Background image

If we configure block to display "Settings" and "Styles" tab the order of supports is:

  1. Color
  2. Background / Background image
  3. Dimensions
  4. Border

I would expect that support panels will render in the same order regardless of block configuration.

Step-by-step reproduction instructions

  1. Create block with only "Styles" tab
  2. Create block with "Settings" and "Styles" tab

Screenshots, screen recording, code snippet

Block with only "Style" tab
image

Block with "Settings" and "Style" tab
image

Environment info

  • WordPress 6.5.4
  • Gutenberg build-in in WordPress and 18.7.1

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

@Dartui Dartui added the [Type] Bug An existing feature does not function as intended label Jul 5, 2024
@Dartui Dartui changed the title Order of block support is not consistent Order of block support panels is not consistent Jul 5, 2024
@akasunil akasunil added the [Feature] Layout Layout block support, its UI controls, and style output. label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Layout Layout block support, its UI controls, and style output. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants