Rida F'kih Bypasses iOS Safari's 60 FPS Limit With Compositor-Driven Interactions
Developer Rida F'kih demonstrates how to achieve 120 FPS web interactions on iOS Safari by using scroll-driven compositor animations instead of requestAnimationFrame, with working demos for drag, momentum and Liquid Glass effects.

By Ryan Chua, Cloud & Enterprise Tech
7 min read
Rida F'kih Bypasses iOS Safari's 60 FPS Limit With Compositor-Driven Interactions
What changed: On 20 November 2026, developer Rida F'kih published a technical write-up and interactive demos showing how to achieve 120 FPS web interactions on iOS Safari without requiring users to enable a hidden developer flag. The technique uses CSS scroll containers and the Scroll Timeline API to drive animations on the browser's compositor thread, bypassing the 60 Hz cap that WebKit imposes on requestAnimationFrame and touch events.
What the 60 FPS Limit Is and Why It Matters
iOS Safari on ProMotion devices (iPhone 13 Pro and later) runs the display at 120 Hz, but WebKit limits requestAnimationFrame callbacks to 60 Hz. Touch and pointer events are also delivered at 60 Hz on regular pages. This makes even well-crafted web applications feel less responsive than native apps, which enjoy full 120 Hz compositor-driven animations.
The hidden developer setting "Prefer Page Rendering Updates near 60fps" (sic, it actually enables 120 Hz) can lift this cap, but it is buried in Settings → Safari → Advanced → Experimental Features and is not a viable solution for production sites.
How the Bypass Works
F'kih's insight comes from observing that scrolling is handled by the compositor thread, not the main thread. The compositor runs independently at the display's native refresh rate. By structuring interactions as scroll operations inside a scroll container, the browser drives the animation at 120 Hz automatically.
Core Technique: Scroll-Driven Animations
Create a scroll container with
overflow: hiddenand a scrollable inner elementUse the Scroll Timeline API (
animation-timeline: scroll()) to bind CSS animations to scroll positionRead scroll position on the compositor via
animation-timeline, no JavaScript callback neededDrive visual updates (transforms, opacity, filter effects) entirely on the compositor
This moves the interaction off the main thread. The finger touches the digitizer, the digitizer feeds the compositor, and the compositor drives the GPU, no JavaScript round-trip.
Worked Example 1: Drag a Square at 120 FPS
F'kih provides two side-by-side demos. The left uses JavaScript pointermove events and sets transform in a requestAnimationFrame callback, capped at 60 FPS. The right places a square inside a scroll container and uses animation-timeline: scroll() to drive its position. On an iPhone 13 Pro or later, the right square moves at 120 FPS with no perceptible lag.

Worked Example 2: Native Momentum and Bounce Physics
By making the scroll container infinitely scrollable and configuring overscroll-behavior, the browser's native momentum scrolling and bounce physics apply automatically. No custom physics engine needed. The demo shows a "trackball" that continues moving with native deceleration and bounces at the edges.
Worked Example 3: Liquid Glass Tab Bar
The article culminates in a Liquid Glass, style tab bar (inspired by iOS 26's design language). Each tab is a controller that emits timestamped drag events. A short history of samples detects drag intent and velocity. The glass effect samples a composite texture rendered via OffscreenCanvas at 120 Hz, with a fragment shader computing the refraction in real time.
Limits and Caveats
Scroll-driven animations require browser support for the Scroll Timeline API (Safari 16.4+, Chrome 115+, Firefox 110+)
OffscreenCanvas is widely supported but shader complexity must stay within mobile GPU budgets
The technique works for interactions (drag, scroll, swipe) but not for arbitrary continuous animations that aren't tied to scroll
Accessibility: ensure scroll containers are keyboard-navigable and respect
prefers-reduced-motion
Why It Matters
This technique closes the feel gap between web and native on iOS for a whole class of interactions, sheets, drawers, tabs, carousels, maps, without waiting for Apple to expose a 120 Hz requestAnimationFrame or a WebKit heuristic. It uses standards-track APIs (Scroll Timeline, Web Animations, OffscreenCanvas) that are already shipping.
What to Watch
Whether Apple introduces a first-class 120 Hz API for the web (the View Transitions API may help)
Adoption of scroll-driven animations in component libraries (React Aria, Radix, etc.)
Performance of complex shader effects on older ProMotion devices (iPhone 13 Pro / 14 Pro)
Background Timeline
Date | Event |
|---|---|
Oct 2026 | Devon Govett (React Aria) publishes "Scrolling is All You Need" |
Nov 2026 | Jordan Walke (React creator) posts native-like web interaction demo on X |
20 Nov 2026 | Rida F'kih publishes bypass technique with interactive demos |
*Source: Rida F'kih blog post (20 Nov 2026), Hacker News discussion (350 points, 121 comments)
This story was first published by TechWhoKnows on 26 November 2026. Original: https://techwhoknows.com/tech/rida-fkih-bypasses-ios-safaris-60-fps-limit-with-compositor-driven-interactions
Sources
- 1Rida F'kih blog postrida.dev
- 2Hacker News discussionnews.ycombinator.com