-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Blocking error on Safari v. 12.x #508
Comments
I could solve my problem installing on the project this polyfill https://github.com/eemeli/intl-pluralrules Can you test? It solved my problem. |
It works with your suggestion! |
Good morning,
on Safari on iOS version 12.4 we're having a blocking error that prevents even site loading:
TypeError: undefined is not a constructor (evaluating 'new Intl.PluralRules(lang)')
The line throwing the error is the following, inside file I18nProvider.js:
var pluralRules = new Intl.PluralRules(lang)
After some research it seems to be an issue with retro-compatibility, as this feature seems to be supported on Safari from v. 13
Again, the site doesn't load at all, neither in dev nor in production, while with recent browsers everything works fine.
Is there a solution and/or a workaround you can suggest to get our site working again?
Thanks in advance
The text was updated successfully, but these errors were encountered: