Search code examples
angulareventspolyfills

Uncaught (in promise): Event: {\"isTrusted\":true}


My Angular 5 application is getting this error in the polyfills bundle on some browsers. Since it does not happen on my own browser, I can't reproduce it or find out anything more about it - I'm just posting the errors that happen on the front-end -.

Any idea where it might be coming from?


Solution

  • For anyone interested: the error was happening because clients were blocking the Google Maps Services, but I was trying to load it anyway and not catching the rejected promise.

    Now I'm just checking if Google Maps is being blocked before trying to place a map.