Iframe appears invisible

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.

Additional context or questions

Panel.bundle.js:1175 Uncaught DOMException: Failed to read the ‘localStorage’ property from ‘Window’: Access is denied for this document.
at h. (https://l9txfxv81qkjzxokdoee0wu4anpnzb.ext-twitch.tv/l9txfxv81qkjzxokdoee0wu4anpnzb/1.3.4/de7ee1c4c4e355b948448aecc0d2ff13/Panel.bundle.js:1175:41)
at h.emit (https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js:8:4080)
at e.onAuthReceived (https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js:30:58923)
at handleMessageEvent (https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js:30:55164)

vendor-05a40961ce2a72faa556.js:1 Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided ('https://supervisor.ext-twitch.tv/’) does not match the recipient window’s origin ('https://www.twitch.tv/’).

That looks like a problem your side, you are not catching the fail to read/use localstorage.

This can happen with the browser brave, whoms default behaviour is to block localstorage.

What browser are you using?

It is happening on Chrome. Works fine on Firefox and my buddy uses Brave and said it works.

I’m a newer programmer so it definitely could be an issue on my side.

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 :smiley:

Just a quick follow up question. I posted this in the bug report also.

I am getting this error message which I think may actually be the issue.I believe this may be on Twitch’s side.

Resource interpreted as Document but transferred with MIME type image/gif: “https://s.amazon-adsystem.com/iui3?pid=a30f442a-e833-4300-a302-987199caf562”.

This is the location: webpack:///./src/utils/tracking.ts

Also I noticed that if you remove the transform option in element.style it will reappear temporarily:

Hope that these are good leads.