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

Buttons block: 1st button doesn't inherit the preferred default style #31084

Closed
aristath opened this issue Apr 22, 2021 · 1 comment
Closed
Assignees
Labels
[Block] Buttons Affects the Buttons Block [Feature] Theme Style Variations Related to style variations provided by block themes [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@aristath
Copy link
Member

Description

Button blocks don't inherit the user-defined "Default Style".
It works for the 2nd, 3rd etc button in the buttons block, but not the 1st one.

Step-by-step reproduction instructions

  1. In the editor add a new block, set its style to "Outline", then in the "Default Style" dropdown below select "Outline"
  2. Add a 2nd buttons block, and notice that the button is not an outline.
  3. Add a 2nd button inside the same buttons block you just added and notice it's styled as an outline.

Expected behaviour

The 1st button should also inherit the default style.

@aristath aristath added [Type] Bug An existing feature does not function as intended [Block] Buttons Affects the Buttons Block [Feature] Theme Style Variations Related to style variations provided by block themes labels Apr 22, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Apr 22, 2021
@aristath
Copy link
Member Author

Closing as duplicate of #27217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Buttons Affects the Buttons Block [Feature] Theme Style Variations Related to style variations provided by block themes [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant