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: a11y - ensure side panel closes properly with reduced motion #11608

Conversation

lee-chase
Copy link
Member

Related Ticket(s)

Description

With reduce motion enabled the side panel was left in a state where it was waiting for a transition to end before completing the close. There is not transition with reduced motion, and as a result a transparent pane was left over the rest of the page.

This PR corrects that to ensure the side panel is correctly closed when reduced motion is enabled.

Changelog

Changed

  • packages/carbon-web-components/src/components/side-panel/side-panel.ts

@lee-chase lee-chase requested a review from a team as a code owner March 1, 2024 09:46
@lee-chase lee-chase requested review from IgnacioBecerra and sangeethababu9223 and removed request for a team March 1, 2024 09:46
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Mar 1, 2024

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Mar 1, 2024

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Mar 1, 2024

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Mar 1, 2024

Copy link
Member

@annawen1 annawen1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@annawen1 annawen1 added package: carbon web components Ready to merge Label for the pull requests that are ready to merge labels Mar 4, 2024
@ariellalgilmore ariellalgilmore merged commit dbddbb0 into carbon-design-system:release/v2.5.0 Mar 5, 2024
12 of 20 checks passed
@annawen1
Copy link
Member

Hey there! This issue/pull request was referenced in recently released v2.5.0.

kennylam pushed a commit to kennylam/carbon-for-ibm-dotcom that referenced this pull request Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: carbon web components Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants