You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React bubble up to the Frame component (iframe) each load event that happen in elements rendered inside it, even if browsers normally would stop this at iframe border. This is why on each such load (for example image load) Frame->handleLoad is called and the unconditional setState there would re-render the Frame.
For now I'm using a workaround like this:
I'm getting a weird error with the Frame Component causing rerenders outside of an act when testing and was curious if there is any known ongoing issues in this regard?
React bubble up to the Frame component (iframe) each load event that happen in elements rendered inside it, even if browsers normally would stop this at iframe border. This is why on each such load (for example image load) Frame->handleLoad is called and the unconditional setState there would re-render the Frame.
For now I'm using a workaround like this:
But it would be nice to have a fix in the library. For example at least:
or, maybe checking that the event target is really the iframe.
The text was updated successfully, but these errors were encountered: