Stefan Dye
Stefan Dye
Interesting. I've removed material and tried the same experiment. in the component constructor ` this.toggleWindowVisibility = this.toggleWindowVisibility.bind(this)` the function ``` toggleWindowVisibility(){ if (document.visibilityState === "visible") { log.info("Clicked minimize!") window.dispatchEvent(new Event('minimize'))...
I found a fix for this. In package.json under scripts change ` "start": "react-scripts start",` to ` "start": "SET BROWSER=none&&react-scripts start",` . That's what worked for me. Note that the...