Skip to content

fix(Modal): call close when pressing Esc#1374

Merged
kimanhou merged 1 commit into
canonical:mainfrom
kimanhou:WD-36511-fix-modal-esc
May 26, 2026
Merged

fix(Modal): call close when pressing Esc#1374
kimanhou merged 1 commit into
canonical:mainfrom
kimanhou:WD-36511-fix-modal-esc

Conversation

@kimanhou
Copy link
Copy Markdown
Contributor

@kimanhou kimanhou commented May 8, 2026

Done

  • fix(Modal): call close when pressing Esc

QA

Pinging @canonical/react-library-maintainers for a review.

Storybook

To see rendered examples of all react-components, run:

yarn start

QA in your project

from react-components run:

yarn build
npm pack

Install the resulting tarball in your project with:

yarn add <path-to-tarball>

QA steps

  • Steps for QA.

Percy steps

  • List any expected visual change in Percy, or write something like "No visual changes expected" if none is expected.

Fixes

Fixes: # .

Comment thread src/components/Modal/Modal.tsx
@kimanhou kimanhou force-pushed the WD-36511-fix-modal-esc branch from 9f231dc to 6f9b67a Compare May 25, 2026 12:28
Signed-off-by: Kim Anh Nguyen <4783194+kimanhou@users.noreply.github.com>
@kimanhou kimanhou force-pushed the WD-36511-fix-modal-esc branch from 6f9b67a to 9cdcf45 Compare May 25, 2026 12:29
Copy link
Copy Markdown
Contributor

@edlerd edlerd left a comment

Choose a reason for hiding this comment

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

LGTM

@kimanhou kimanhou merged commit bcaefcc into canonical:main May 26, 2026
8 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 4.5.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kimanhou kimanhou deleted the WD-36511-fix-modal-esc branch May 27, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants