-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Using v3.0.0-beta15 on a few TVs we've seen an issue where the children sort in CoreNode (
Line 961 in 158c8c3
| this.children.sort((a, b) => a.calcZIndex - b.calcZIndex); |
Pre-Chrome v70 sort is not expected to be stable: https://v8.dev/features/stable-sort
This results in a difference in the order of draw calls between devices with stable sort and those without.
Reproduction URL
n/a - not reproducible on modern browser
Reproduction steps
1. On an affected device create a Node with over 10 overlapping children without explicit Z-Indexes
2. Render it
3. Observe that they are renderered out-of-orderScreenshots
Logs
Browsers
Other, Chromium
Browser version
At least all Chrome pre-v70, probably others - Issue present on WebView on Android TV 10 & 11.OS
Android
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working