Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Touch scroll performance using with Webgl #51

Open
iamlinkus opened this issue May 6, 2021 · 2 comments
Open

Touch scroll performance using with Webgl #51

iamlinkus opened this issue May 6, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@iamlinkus
Copy link

Hey!

Tried the Touch-friendly DOM/WebGL Sync on my iPhone and found that the performance is strange: webgl planes flicker when moving and seem not to be updating at the same speed as the dom elements.

Tried replacing touchScrollType to transform and it synced up the planes to the dom elements, but it also made both of them flicker, whereas with scrollTop only the webgl context was flickering.

Videos with scrollTop and transform.

Hardware/software specs:
iPhone X, iOS 14.5.1, Chrome & Safari (both latest). Tried it on the ios simulator on mac - same there. Desktop is fine.

If it'd be my guess without looking at the code, I'd say either there's a problem with throttling of the event that updates the scroll position or it just plain can't keep up with the framerate.

Let me know if I can help with anything else.

@ashthornton ashthornton self-assigned this May 6, 2021
@ashthornton ashthornton added the bug Something isn't working label May 6, 2021
@iamlinkus
Copy link
Author

Hey, @ashthornton , any news on this?

@ashthornton
Copy link
Owner

Haven't had time to investigate this yet @iamlinkus, hoping to get to it over the next few days. Will keep you posted.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants