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

fix: acccordion expand mode changes should update the UI as expected #6611

Conversation

chrisdholt
Copy link
Member

@chrisdholt chrisdholt commented Jan 20, 2023

Pull Request

📖 Description

Fixes an issue where swapping expand modes did not trigger the proper updates to the accordion component. This also goes back to setting an item's expand button to aria-disabled attribute vs. disabled.

🎫 Issues

fixes #6586

👩‍💻 Reviewer Notes

📑 Test Plan

✅ Checklist

General

  • I have included a change request file using $ yarn change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

⏭ Next Steps

@chrisdholt chrisdholt force-pushed the users/chhol/ensure-swapping-to-multi-expand-removes-disabled-attr branch from e44fc22 to 369f3d5 Compare January 20, 2023 02:00
@chrisdholt chrisdholt force-pushed the users/chhol/ensure-swapping-to-multi-expand-removes-disabled-attr branch from e1c82bd to f92f293 Compare January 27, 2023 23:25
@chrisdholt chrisdholt force-pushed the users/chhol/ensure-swapping-to-multi-expand-removes-disabled-attr branch from f92f293 to d2f9618 Compare January 28, 2023 04:03
@chrisdholt chrisdholt merged commit 2a2fe95 into master Jan 28, 2023
@chrisdholt chrisdholt deleted the users/chhol/ensure-swapping-to-multi-expand-removes-disabled-attr branch January 28, 2023 18:33
janechu pushed a commit that referenced this pull request Jun 10, 2024
…6611)

* fixes an issue where accordion expand-mode changes were not reflected in the component

* Change files

* update api report

* go back to aria-disabled as it removes the item from the tabindex, duh

* fixup accordion tests
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.

fix: Accordion does not process expand-mode toggle properly
3 participants