Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix react-error-overlay iframe overlay #12023

Closed
wants to merge 2 commits into from
Closed

Fix react-error-overlay iframe overlay #12023

wants to merge 2 commits into from

Conversation

nattui
Copy link

@nattui nattui commented Feb 5, 2022

Sometimes when working on a project, it creates this container around the entire app during hot reload. It happens during create-react-app: 4.x.x

Upon further inspection it looks like it is an which is rendered in the browswer as this:

<iframe style="position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; border: none; z-index: 2147483647;"></iframe>

This solution uses CSS to make this particular iframe never a target of pointer events.

Fixes:

Closes #11773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is this the bug of react-error-overlay?
2 participants