Skip to content

fiix(ComposedModal, Modal): ESC key handling breaks when Popover is open - DO NOT MERGE#21436

Closed
sangeethababu9223 wants to merge 7 commits into
carbon-design-system:mainfrom
sangeethababu9223:fix/overflow-menu-modal-not-closing-on-outside-click
Closed

fiix(ComposedModal, Modal): ESC key handling breaks when Popover is open - DO NOT MERGE#21436
sangeethababu9223 wants to merge 7 commits into
carbon-design-system:mainfrom
sangeethababu9223:fix/overflow-menu-modal-not-closing-on-outside-click

Conversation

@sangeethababu9223

@sangeethababu9223 sangeethababu9223 commented Feb 5, 2026

Copy link
Copy Markdown
Member

Closes #19365

{{short description}}

Changelog

New

  • {{new thing}}

Changed

  • {{changed thing}}

Removed

  • {{removed thing}}

Testing / Reviewing

{{ Add steps or a checklist for how reviewers can verify this PR works or not }}

PR Checklist

As the author of this PR, before marking ready for review, confirm you:

  • Reviewed every line of the diff
  • Updated documentation and storybook examples
  • Wrote passing tests that cover this change
  • Addressed any impact on accessibility (a11y)
  • Tested for cross-browser consistency
  • Validated that this code is ready for review and status checks should pass

More details can be found in the pull request guide

@netlify

netlify Bot commented Feb 5, 2026

Copy link
Copy Markdown

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit ce3c8cd
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/698987cff2fc2f0008b20933
😎 Deploy Preview https://deploy-preview-21436--v11-carbon-web-components.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 project configuration.

@netlify

netlify Bot commented Feb 5, 2026

Copy link
Copy Markdown

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit ce3c8cd
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/698987cfe8f36d000847119e
😎 Deploy Preview https://deploy-preview-21436--v11-carbon-react.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 project configuration.

@codecov

codecov Bot commented Feb 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.78378% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.73%. Comparing base (705787f) to head (ce3c8cd).
⚠️ Report is 36 commits behind head on main.

Files with missing lines Patch % Lines
...act/src/components/ComposedModal/ComposedModal.tsx 66.66% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21436      +/-   ##
==========================================
- Coverage   86.74%   86.73%   -0.02%     
==========================================
  Files         539      539              
  Lines       42887    42916      +29     
  Branches     6602     6614      +12     
==========================================
+ Hits        37203    37223      +20     
- Misses       5518     5527       +9     
  Partials      166      166              
Flag Coverage Δ
main-packages 86.01% <83.78%> (-0.02%) ⬇️
web-components 87.12% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sangeethababu9223 sangeethababu9223 changed the title fix(overflow menu): clickoutside in modal not working fix(overflow menu DONOT MERGE): clickoutside in modal not working Feb 6, 2026
@sangeethababu9223 sangeethababu9223 changed the title fix(overflow menu DONOT MERGE): clickoutside in modal not working fix(overflow menu DO NOT MERGE): clickoutside in modal not working Feb 6, 2026
@sangeethababu9223 sangeethababu9223 changed the title fix(overflow menu DO NOT MERGE): clickoutside in modal not working fix(overflow menu): clickoutside in modal not working - DO NOT MERGE Feb 6, 2026
@sangeethababu9223 sangeethababu9223 changed the title fix(overflow menu): clickoutside in modal not working - DO NOT MERGE fiix(ComposedModal, Modal): ESC key handling breaks when Popover is open - DO NOT MERGE Feb 11, 2026
@sangeethababu9223

sangeethababu9223 commented Feb 11, 2026

Copy link
Copy Markdown
Member Author

The fix for the onClickOutside functionality has been moved to a separate PR #21499 , since the Esc key issue requires further investigation.

@sangeethababu9223

Copy link
Copy Markdown
Member Author

The interaction between Modal and Popover components requires further research, this PR will be closed for now. A new research issue will be created to investigate this in more detail.

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]: Cannot drop elements by ENTER or SPACE key

1 participant