Skip to content

Commit 210667e

Browse files
author
Boris Mazić
committed
added mountNodeProp to mergedPortalProps
1 parent d11fd0d commit 210667e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/Popup/Popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export default class Popup extends Component {
277277
? { mountNode: referenceElement.ref.current.ownerDocument.body }
278278
: {}
279279

280-
const mergedPortalProps = { ...this.getPortalProps(), ...portalRestProps }
280+
const mergedPortalProps = { ...this.getPortalProps(), ...portalRestProps, ...mountNodeProp }
281281
debug('portal props:', mergedPortalProps)
282282

283283
return (

0 commit comments

Comments
 (0)