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

Pass portalStopPropagationEvents prop given to Popover to underlying Overlay #6319

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

gluxon
Copy link
Contributor

@gluxon gluxon commented Aug 9, 2023

Changes

In #6093, the portalStopPropagationEvents prop was added to the <Overlay /> component. Since the PopoverProps extends OverlayableProps, popovers now also accept this new prop. However, the <Popover /> component wasn't using this new prop and simply discard it.

Let's propagate it to the underlying <Overlay />. I think this was the original intention in #6093.

@adidahiya
Copy link
Contributor

Pass portalStopPropagationEvents prop from Portal to underlying Overlay

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@gluxon gluxon changed the title Pass portalStopPropagationEvents prop from Portal to underlying Overlay Pass portalStopPropagationEvents prop from Portal to underlying Overlay Aug 18, 2023
@gluxon gluxon changed the title Pass portalStopPropagationEvents prop from Portal to underlying Overlay Pass portalStopPropagationEvents prop given to Popover to underlying Overlay Aug 18, 2023
@gluxon gluxon marked this pull request as ready for review August 18, 2023 17:10
@gluxon gluxon merged commit 87fbf0c into develop Aug 23, 2023
12 checks passed
@gluxon gluxon deleted the pass-portalStopPropagationEvents branch August 23, 2023 16:34
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.

None yet

4 participants