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.
- Why mobile web feels laggy: touch/pointer events are clamped to the same 60 Hz as rendering
- Path to native feel: finger → digitizer → compositor → GPU, skipping JS
More from coding & agent
- Dev ships ComfyUI node that runs prompts sequentially from a spreadsheet with wildcard support — ForesterAI · 2026-11-22
- Addy Osmani's agent-skills: 26 skills encoding senior-engineer workflows, 120k stars — victor_explore · 2026-11-22
- Deep dive: how cgo works at build time and its pointer-check quirks — abhi9u · 2026-11-22
- pstack 'NSFW' prompt: make repeated repo mistakes impossible, not documented — AccBalanced · 2026-11-22
- Timemator 3.4 adds MCP server with 21 tools for Claude Code, Codex and Cursor — dean_rie · 2026-11-22
- Anthropic's Claude Academy offers free official courses with completion badges — rubenhassid · 2026-11-22