Skip to content

Commit

Permalink
Pass portalStopPropagationEvents prop given to Popover to underly…
Browse files Browse the repository at this point in the history
…ing `Overlay` (#6319)
  • Loading branch information
gluxon authored Aug 23, 2023
1 parent 1a433b4 commit 87fbf0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/components/popover/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ export class Popover<
usePortal={this.props.usePortal}
portalClassName={this.props.portalClassName}
portalContainer={this.props.portalContainer}
portalStopPropagationEvents={this.props.portalStopPropagationEvents}
// if hover interaction, it doesn't make sense to take over focus control
shouldReturnFocusOnClose={this.isHoverInteractionKind() ? false : shouldReturnFocusOnClose}
>
Expand Down

1 comment on commit 87fbf0c

@adidahiya
Copy link
Contributor

Choose a reason for hiding this comment

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

Pass `portalStopPropagationEvents` prop given to `Popover` to underlying `Overlay` (#6319)

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

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

Please sign in to comment.