Permission denied when component close the window on IE
martinl16 opened this issue · comments
martinl16 commented
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?
Rubens Mariuzzo commented
Hi there! I'm really sorry for the long reply. Which version of IE are you using? I would love to reproduce it.