We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af50171 commit e85b1e6Copy full SHA for e85b1e6
src/Preview/index.tsx
@@ -388,7 +388,7 @@ const Preview: React.FC<PreviewProps> = props => {
388
}
389
390
return (
391
- <Portal open={portalRender} getContainer={getContainer ?? document.body} autoLock={lockScroll}>
+ <Portal open={portalRender} getContainer={getContainer} autoLock={lockScroll}>
392
<CSSMotion
393
motionName={motionName}
394
visible={portalRender && open}
0 commit comments