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
Faced an issue today where google maps API breaks core-js's Array.from with the following message :
This site overrides Array.from() with an implementation that doesn't support iterables, which could cause Google Maps JavaScript API v3 to not work correctly.
Google Maps appears to override core-js's Symbol.iterator with their own polyfill thus creating the error. Anyone loading google maps on their page on IE 11 will have a JS error preventing their stimulus controllers to initialize properly without further action.
A working solution is to add core-js's Symbol.iterator.
This is not a stimulus issue per-se, but a fix would greatly improve developer experience for those who are still supporting IE11.
I'll attach a PR to this issue for your review,
The text was updated successfully, but these errors were encountered:
I had already added the workarounds in my application, I figured it was not a stimulus issue, hope this issue can help other people find a solution too.
Faced an issue today where google maps API breaks
core-js
'sArray.from
with the following message :Google Maps appears to override core-js's
Symbol.iterator
with their own polyfill thus creating the error. Anyone loading google maps on their page on IE 11 will have a JS error preventing their stimulus controllers to initialize properly without further action.A working solution is to add core-js's
Symbol.iterator
.This is not a stimulus issue per-se, but a fix would greatly improve developer experience for those who are still supporting IE11.
I'll attach a PR to this issue for your review,
The text was updated successfully, but these errors were encountered: