Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/core/src/components/overlay/overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ export interface OverlayableProps extends OverlayLifecycleProps {
* A list of DOM events which should be stopped from propagating through the Portal.
* This prop is ignored if `usePortal` is `false`.
*
* @deprecated this prop's implementation no longer works in React v17+
* @see https://legacy.reactjs.org/docs/portals.html#event-bubbling-through-portals
* @see https://github.com/palantir/blueprint/issues/6124
* @see https://github.com/palantir/blueprint/issues/6580
*/
portalStopPropagationEvents?: Array<keyof HTMLElementEventMap>;

Expand Down
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 @@ -518,6 +518,7 @@ export class Popover<
usePortal={usePortal}
portalClassName={this.props.portalClassName}
portalContainer={this.props.portalContainer}
// eslint-disable-next-line deprecation/deprecation
portalStopPropagationEvents={this.props.portalStopPropagationEvents}
shouldReturnFocusOnClose={shouldReturnFocusOnClose}
>
Expand Down