diff --git a/packages/components/src/sandbox/index.native.js b/packages/components/src/sandbox/index.native.js index 12125c31edf67b..2e2b86f75332cd 100644 --- a/packages/components/src/sandbox/index.native.js +++ b/packages/components/src/sandbox/index.native.js @@ -98,7 +98,6 @@ const observeAndResizeJS = ` // get an DOM mutations for that, so do the resize when the window is resized, too. window.addEventListener( 'resize', sendResize, true ); window.addEventListener( 'orientationchange', sendResize, true ); - widow.addEventListener( 'click', sendResize, true ); })(); `; @@ -182,6 +181,7 @@ function Sandbox( { title = '', type, url, + viewportProps = '', } ) { const colorScheme = usePreferredColorScheme(); const ref = useRef(); @@ -215,7 +215,7 @@ function Sandbox( {