Brief description Iframe goes transparent when hovering over a mouseclick event in component extension.
How to reproduce Create an app with a component. Add component to live stream. Appears fine in Twitch Rig. Component appears properly but when mouse is moved over iframe everything goes transparent. Items can still be clicked but are not visible.
Expected behavior On hover over iframe it should not go transparent.
You might have a “privacy” extension interfering or have localstorage completely disabled.
You as an extension dev need to handle this possibility.
I have the converse from my brave users, current solution for them at the moment is “this is sooooo basic why is it disabled” and I don’t catch the issue, it’s pending a fix in said extension
First, there’s no need to bump a thread that’s over a year old.
Secondly, rather than use that workaround to delay React attempting to render the better option would be to read introductory guides for React that show how to appropriately place scripts so that they don’t attempt to render before the DOM has finished loading. If you need to use a workout such as a setTimeout then that likely indicates you’ve placed your script in the wrong place.