react-new-window
react-new-window copied to clipboard
Permission denied when component close the window on IE
Hi
when the variable showWindow changed for false, i return null so the window should get closed. It works well on chrome but on IE it gives me an error 'Permission Denied'
const renderWindow = () => {
if (!showWindow) return;
return <NewWindow onUnload={() => {setShowWindow(false)} }>
<h1>test</h1>
</NewWindow>
}
any idea how to fix it?
Hi there! I'm really sorry for the long reply. Which version of IE are you using? I would love to reproduce it.