The 120Hz Illusion: Why Safari's 'Native' Hacks Are Just Polishing a Glass Ceiling

AI-generated image · Bay Street Wire
Developer Rida F'kih has found a way to bypass iOS Safari's 60 FPS limit, but it raises a bigger question: why are we fighting the browser to get basic fluidity?
When Apple markets ProMotion, they are selling the dream of 120Hz fluidity. But for anyone building for the web, that dream is often a lie. In my opinion, the current state of iOS Safari isn't just a technical hurdle; it's a glass ceiling that Apple refuses to break, forcing developers to engage in absurd architectural gymnastics just to make a website feel like a basic app.
As Rida F'kih first reported on his blog, the problem is systemic. F'kih notes that unless a user buries themselves in Safari developer settings to flip the “Prefer Page Rendering Updates near 60fps” flag, WebKit limits `requestAnimationFrame` to 60 Hz on 120 Hz screens. This means that even if you have the most powerful iPhone in your hand, touch and pointer events on a standard page are held to that same 60 Hz rate. The result? Even the most polished mobile sites feel irritatingly sluggish.
F'kih’s solution is a masterclass in engineering, but it's also a testament to how broken the experience is. By leveraging the compositor—the part of the browser that handles scrolling in its own thread without a JavaScript round-trip—F'kih discovered a way to "extract" native physics, momentum, and bounce. He essentially built a "controller" using a scrollable area to act as a trackpad.
But getting that data out of the browser is where the absurdity begins. F'kih reports that standard scroll events on an iPhone Duo only update 5 to 26 times per second during momentum scrolls. To fix this, he experimented with `MessageChannel` recursive calls (which pinned the CPU and created heat) and `Atomics` (which required COOP/COEP headers that broke cross-origin assets).
Eventually, F'kih found a workaround using a `MessageChannel` throttled by `setTimeout` and phase-locked to vsync via `requestAnimationFrame` timestamps. He even discovered that Safari's UI process normally overwrites scroll positions unless a rendering update is queued, requiring an empty `requestAnimationFrame` loop to flush positions. To finally hit the full 120 Hz, he had to implement a "tiny invisible scroller" that smooth-scrolls in the background to trick the GPU into boosting the refresh rate.
Here is the rub: F'kih’s work is brilliant, but it is a hack. He is using a scroll area to simulate a trackpad, employing invisible elements to trick the GPU, and fighting the IPC (Inter-Process Communication) just to reach the hardware's native capability.
When we look at the experiments of Jordan Walke (creator of React) or the work of Devon Govett at React Aria, who focused on leveraging native browser physics for swipeable sheets, we see a community trying to bridge a gap that shouldn't exist. If developers have to build "invisible scrollers" just to make a square move smoothly on a screen, the problem isn't the developer's code—it's the browser's constraints.
Apple has given us the hardware (ProMotion), but Safari is keeping the software in a cage. Until WebKit allows for native 120 Hz input without these elaborate workarounds, we aren't building "native-like" experiences; we're just polishing the glass ceiling.

