Skip to content

Conversation

@ekosz
Copy link

@ekosz ekosz commented Aug 18, 2025

This change updates the code to attempt to use the new moreBefore DOM API before fallback to the original insertBefore code. In my testing this has fixed issues our ours with iframes being remounted at unexpected times.

Fixes #266

This change updates the code to attempt to use the new [`moreBefore`][0]
DOM API before fallback to the original insertBefore code. In my testing
this has fixed issues our ours with iframes being remounted at
unexpected times.

Fixes patrick-steele-idem#266

[0]: https://developer.mozilla.org/en-US/docs/Web/API/Element/moveBefore
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.

Support of moveBefore function

1 participant