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(side-panel): close with esc key #5814

Conversation

ariellalgilmore
Copy link
Member

Closes #5765

change side panel to close on esc key escept for the slide in option

What did you change?

hand a handleEscapeKey function that both the close icon can use and the entire side panel can use

How did you test and verify your work?

storybook

Copy link

netlify bot commented Aug 6, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit aa86d90
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/66b243ed64fb5400088d4662
😎 Deploy Preview https://deploy-preview-5814--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 6, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit f06ff61
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/66b625410aa2ac0008bc298e
😎 Deploy Preview https://deploy-preview-5814--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ariellalgilmore ariellalgilmore marked this pull request as ready for review August 8, 2024 18:55
@ariellalgilmore ariellalgilmore requested a review from a team as a code owner August 8, 2024 18:55
@ariellalgilmore ariellalgilmore requested review from kennylam and amal-k-joy and removed request for a team August 8, 2024 18:55
Copy link
Contributor

@amal-k-joy amal-k-joy left a comment

Choose a reason for hiding this comment

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

Looking good. One small comment.

@devadula-nandan devadula-nandan self-requested a review August 13, 2024 05:14
Copy link
Contributor

@devadula-nandan devadula-nandan left a comment

Choose a reason for hiding this comment

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

LGTM

@devadula-nandan devadula-nandan added this pull request to the merge queue Aug 13, 2024
Merged via the queue into carbon-design-system:main with commit 49b0227 Aug 13, 2024
20 checks passed
@ariellalgilmore ariellalgilmore deleted the fix/side-panel-close-esc branch August 13, 2024 13:36
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.

[a11y]: SidePanel should close on escape key
3 participants