upvote
Did you mean the OffscreenCanvas is significantly worse? What device are you using if you don't mind me asking?
reply
On my Pixel 9, the scrollarea 'snaps' to pure vertical or horizontal scrolling when the movement is within a few degrees of those.

That would be desirable in the normal use case of scrolling through content, but in this application causes the item dragging to be erratic and not follow my finger reliably.

reply
Yeah, this is a CSS property. Let me toss it on really quickly!
reply
Tested this on my Pixel 9 Pro with Firefox and Chrome.

The "improved" canvas seems to lose tracking with my finger. It's perfectly smooth (although both seem to be?), but at the end of a little wiggle motion, the square is no lunger underneath my finger.

This also makes the glass-pill-drag control look weird, because I expect the pill to be dragged along further than it actually ends up being.

The effect is much more pronounced on Firefox, but scrolling feels weird and off in Chrome as well. I also don't even know if you need this hack to work around the frame rate issue on Android.

I recorded my screen with the touch tracing feature enabled: https://bijlage.zip/e218ea6b-389f-4ac0-9e3c-c1f45624e05f.mp4

reply
If you get the chance, let me know if it's fixed now. c: Unfortunately cannot reproduce it on any of my Android devices, including a Google Pixel 9, but I had a hunch.
reply