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
Seeing this error in production from older browsers:
n.matchAll is not a function. (In 'n.matchAll(/(^|\s)(1?\d?\d)vw/g)', 'n.matchAll' is undefined)
next/image uses String.prototype.matchAll and which does not seem to get polyfilled correctly. This means that using the "sizes" prop breaks the application for older browsers.
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 28, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Next.js are you using?
10.2.0
What version of Node.js are you using?
14
What browser are you using?
Firefox 55
What operating system are you using?
MacOS
How are you deploying your application?
Other
Describe the Bug
Seeing this error in production from older browsers:
next/image uses
String.prototype.matchAll
and which does not seem to get polyfilled correctly. This means that using the "sizes" prop breaks the application for older browsers.Expected Behavior
Polyfill String.prototype.matchAll
To Reproduce
https://github.com/skrivanos/next-image-matchall-repro
yarn build && yarn start
browse to index with for instance ie11 or firefox 55. Voila!
The text was updated successfully, but these errors were encountered: