Blog shows a way past iOS Safari’s 60 FPS web limit
Original title: Bypassing iOS Safari's 60 FPS Limit to Build Web Applications That Feel Native
The author reads compositor scroll positions to drive interactions at up to 120 Hz without a Safari developer flag.
A November 20 blog post describes WebKit limiting requestAnimationFrame and pointer events to 60 Hz on 120 Hz iOS screens unless a buried Safari flag is enabled. The author outlines reading scroll position from the compositor so drag interactions can update faster than JavaScript event handlers. The post is a web-performance technique write-up, not a security advisory.
- Scroll events updated only 5 to 26 times per second during momentum scroll in one test.
- An empty requestAnimationFrame loop raised unique position reads to about 90 per second.
- A background scroller was used to reach the full 120 Hz ProMotion rate.
- scrollTop and scrollLeft are rounded to integers despite sub-point scrolling.
- Vendors
- Apple
From the original article
10 min read at rida.dev
Devon Govett of React Aria posted “Scrolling is All You Need: Building a Swipeable Sheet” back in October, and in it he talked about his team developing a sheet component that cleverly leverages the physics and smooth interactions provided by native browsers to provide the illusion of a native interaction.
By vinhnx · rida.dev
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.