Bypassing iOS Safari's 60 FPS cap: compositor-driven scrolling unlocks 120Hz web interactions

Vjeux · x · 2026-11-22

Rida F'kih published a 10-minute writeup demonstrating what he calls the first website running JS interactions at full refresh rate on iOS ProMotion displays, bypassing WebKit's default 60 Hz cap on requestAnimationFrame and touch events (normally escapable only via a hidden Safari dev flag).

The approach, inspired by React Aria's "Scrolling is All You Need" and an experiment by React creator Jordan Walke, is to hand interactions to the compositor thread — scrolling moves, clips and fades without a JavaScript round-trip. A side-by-side demo contrasts a JS-driven transform (pegged at 60 Hz) with a square placed in a scrollable area running at full frame rate. Vjeux amplified the piece.

Original post →

More from coding & agent

coding & agent channel →