We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have an error in iOS 13.7, in a POST request, using turbo_stream.update
TypeError: e.replaceChildren is not a function. (In 'e.replaceChildren(this.templateContent)', 'e.replaceChildren' is undefined)
there seems to be something on this line the error
turbo/src/core/streams/stream_actions.ts
Line 34 in 00b287a
The text was updated successfully, but these errors were encountered:
Hey @danieldocki 👋🏼. Thanks for opening this issue!
replaceChildren() is just supported from iOS 14.0 and up, see here: https://caniuse.com/mdn-api_element_replacechildren
replaceChildren()
But you should be able to polyfill the function with something like this: zloirock/core-js#940 (comment)
Sorry, something went wrong.
Also, for context: #534
I've put together a PR that restores this version of safari.
No branches or pull requests
I have an error in iOS 13.7, in a POST request, using turbo_stream.update
TypeError: e.replaceChildren is not a function. (In 'e.replaceChildren(this.templateContent)', 'e.replaceChildren' is undefined)
there seems to be something on this line the error
turbo/src/core/streams/stream_actions.ts
Line 34 in 00b287a
The text was updated successfully, but these errors were encountered: