Skip to content
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

RequestAnimationFrame block by media(img, background etc.) rendering #50

Closed
chestnutchen opened this issue Aug 23, 2020 · 2 comments
Closed

Comments

@chestnutchen
Copy link

chestnutchen commented Aug 23, 2020

Env:
iOS webkit
A mediocre network traffic

Problem:
Found the issue that slide animation lost a lot of frames when page is almost loaded and ui thread is painting some media elements such as img tag or CSS background.

Some info:
Dived into performance debugging and found the requestAnimationFrame was delayed by nothing. But it took 50ms, 100ms or even more time to do next moveAnimateUpdate detecting by console.log. The issue could be reproduced in the demo page without page cache in a mediocre network traffic.

@rcbyr
Copy link
Owner

rcbyr commented Aug 24, 2020

Thank you very much. I will investigate this behavior and will create a fix.

@rcbyr
Copy link
Owner

rcbyr commented Apr 24, 2022

At the moment, I don't think there is a performance problem with the slider. Therefore, I am closing this issue for the moment.

@rcbyr rcbyr closed this as completed Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants