Skip to content

Accordion Block - Normal state background color overrides collapsed state #3670

@malalacharm

Description

@malalacharm

Describe the bug
When using a Stackable Accordion block, if the Accordion block background matches the Hovered and Collapsed state colors of the first inner column, the Normal state background color is applied even when the accordion is opened.

To Reproduce
Steps to reproduce the behavior:

  1. Add a page
  2. Add an Accordion Block
  3. On Accordion Block > Style > add a Background color
  4. Under Accordion first Inner column > Style > Background color
  5. Add a different color for Normal state, set the Hovered and Collapsed state colors to be the same as the Accordion block background.
  6. See error (normal state background color applies when accordion is opened)

Expected behavior
When the accordion is opened, the collapsed state background color should be displayed correctly.

Screenshots

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions