-
Notifications
You must be signed in to change notification settings - Fork 874
Use of Array.toSorted
is not supported in all browsers
#16759
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
Comments
Similar to #7836 this is due to the usage of "newer" JS API. |
@BrunoQuaresma I believe this was introduced in #15964:
|
Array.toSorted
is not supported in all browsers
@somatothing can you please share which browser, version, and OS you are using? |
Looks like another one of our users is running into this, bringing this as a candidate for our next sprint context |
@bpmct Would you have any problems if I get a fix in today? This should be such an easy fix that I should be able to get this started and wrapped up in less than 30 minutes |
@Parkreiner no problems on my side!! |
…e.sort` bugs (#17307) Closes #16759 ## Changes made - Replaced all instances of `Array.prototype.toSorted` with `Array.prototype.sort` to provide better support for older browsers - Updated all `Array.prototype.sort` calls where necessary to remove risks of mutation render bugs - Refactored some code (moved things around, added comments) to make it more clear that certain `.sort` calls are harmless and don't have any risks
Version
v2.19.0+2f32b11
Path
/templates
Error
TypeError: undefined is not a function (near '...e.toSorted...')
The text was updated successfully, but these errors were encountered: