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: popover is clipping in modal #17840

Conversation

preetibansalui
Copy link
Contributor

Closes #17749

popover was clipping in modal

Changelog

Changed

The issue was caused by the drop-shadow, as it creates a stacking effect. So I applied the drop-shadow to its direct child .#{$prefix}--popover-content instead of .#{$prefix}--popover

Testing / Reviewing

  1. Go to Storybook > Modal > Default
  2. Open popover by clicking checkbox
  3. Scroll within the modal. the popover should not be clipped

Copy link

netlify bot commented Oct 23, 2024

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

Name Link
🔨 Latest commit af6d2e9
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-web-components/deploys/6718ebd99c391d000884c527
😎 Deploy Preview https://deploy-preview-17840--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 site configuration.

Copy link

netlify bot commented Oct 23, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit af6d2e9
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/6718ebd9ab1dbc0008ee0864
😎 Deploy Preview https://deploy-preview-17840--carbon-elements.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 Oct 23, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit af6d2e9
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/6718ebd92c499600083579da
😎 Deploy Preview https://deploy-preview-17840--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 site configuration.

Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.14%. Comparing base (b543079) to head (af6d2e9).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17840      +/-   ##
==========================================
- Coverage   80.16%   80.14%   -0.03%     
==========================================
  Files         406      406              
  Lines       14029    14029              
  Branches     4343     4363      +20     
==========================================
- Hits        11246    11243       -3     
- Misses       2617     2619       +2     
- Partials      166      167       +1     

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

Copy link
Member

@alisonjoseph alisonjoseph left a comment

Choose a reason for hiding this comment

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

LGTM

@kennylam kennylam added this pull request to the merge queue Oct 23, 2024
Merged via the queue into carbon-design-system:main with commit abde1a4 Oct 23, 2024
39 of 40 checks passed
@carbon-automation
Copy link
Contributor

Hey there! v11.69.0 was just released that references this issue/PR.

irfadkp pushed a commit to irfadkp/carbon that referenced this pull request Oct 24, 2024
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.

[Bug]: Popover is clipping in a modal
3 participants