Skip to content

Conversation

@joduplessis
Copy link
Member

@joduplessis joduplessis commented Sep 2, 2025

This PR adds a new prop ignoreContainers. ignoreContainers takes a string array of DOM element ID attributes. On every dismiss click, the component will check if the clicks falls within any of the ignoreContainers DOM elements. If it does, the popover will not fire the dismiss method.

@joduplessis joduplessis self-assigned this Sep 2, 2025
@joduplessis joduplessis added the feature New feature or request label Sep 2, 2025
@netlify
Copy link

netlify bot commented Sep 2, 2025

Deploy Preview for fold-storybook ready!

Name Link
🔨 Latest commit caa7088
🔍 Latest deploy log https://app.netlify.com/projects/fold-storybook/deploys/68b7309f6acb39000855dbd5
😎 Deploy Preview https://deploy-preview-328--fold-storybook.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.

@joduplessis joduplessis merged commit d2aac17 into main Sep 3, 2025
5 checks passed
@joduplessis joduplessis deleted the popover-ignore-containers branch September 3, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants