diff --git a/src/App.js b/src/App.js index d22f32c..793af17 100644 --- a/src/App.js +++ b/src/App.js @@ -54,6 +54,11 @@ const App = () => { PartyRoutesWrapper && PartyRoutesWrapper.classList.remove('visible'); } + // HANDLE FULLSCREEN EVENT + document.onfullscreenchange = () => { + if (document.fullscreenElement) setVisible(false); + }; + return (