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

Always close accordion when disabled #2499

Merged

Conversation

RasmusKjeldgaard
Copy link
Collaborator

Which issue does this PR close?

This PR closes #2498

What is the new behavior?

The accordion now collapses and removes expanded styles when isDisabled is set to true after initialization.

Does this PR introduce a breaking change?

  • Yes
  • No

Are there any additional context?

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

@RasmusKjeldgaard RasmusKjeldgaard merged commit 329ae19 into develop Sep 21, 2022
@RasmusKjeldgaard RasmusKjeldgaard deleted the bug/disabled-accordion-should-always-close-expanded branch September 21, 2022 12:43
@jkaltoft jkaltoft mentioned this pull request Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Accordion title still bold when disabled
2 participants