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: REPL style insert in FireFox #1163

Merged
merged 3 commits into from
Jul 3, 2024
Merged

fix: REPL style insert in FireFox #1163

merged 3 commits into from
Jul 3, 2024

Conversation

rschristian
Copy link
Member

Fixes #1161

The information on this is a bit lacking, but it seems FireFox asynchronously creates the iframe doc once appended into the parent whereas Chrome and Safari do it synchronously, then, upon loading, FireFox will replace the inserted document if it's already been altered? Not 100% on that, but this seems to do the trick.

@rschristian rschristian merged commit 244841d into master Jul 3, 2024
5 checks passed
@rschristian rschristian deleted the fix/ff-iframe-styles branch July 3, 2024 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spiral example does not work in firefox
2 participants