简体   繁体   中英

Any way to detect if a browser halts repainting on scroll?

I continuously run into this issue when designing sites that have scroll-based events (animation, parallax, etc etc etc).

Is there any reliable to test if a browser halts repainting on scroll, so I can better tailor my interactions to the platform?

In Chrome you can check paint actions.

Chrome > Developer Tools (f12) > Timeline

Tick the

paint checkbox

then record start recording and do actions in the browser, like you mentioned scrolling. Then click the record button again to stop. Later you can see each and every event, every frame, how chrome painted your screen.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM