Developer Tools & Architecture November 25, 2026

Unlocking 120 FPS in Safari: How Web Apps Can Finally Feel Native

SHARE:
Unlocking 120 FPS in Safari: How Web Apps Can Finally Feel Native

Developers have cracked iOS Safari’s stubborn 60 FPS rendering ceiling. By pairing native scroll containers with OffscreenCanvas, web apps can now hit buttery 120 Hz ProMotion speeds.

For years, mobile web engineers have faced an infuriating paradox on Apple hardware: iPhones and iPad Pros ship with dynamic 120 Hz ProMotion screens, yet WebKit stubbornly locks web application rendering to 60 frames per second. Even when standalone Progressive Web Apps (PWAs) are pinned to the home screen, standard animation loops feel perceptibly sluggish when placed alongside native Swift or SwiftUI counterparts. That barrier has finally cracked open.

A technical breakdown published by developer Rida Hallafi exposes an ingenious architectural workaround to bypass WebKit’s throttling mechanisms. By hijacking Apple's compositor-driven scroll container architecture and coupling it with OffscreenCanvas, front-end developers can achieve full 120 Hz render loops and high-frequency input dispatching across iOS Safari.

Under normal circumstances, Safari throttles requestAnimationFrame (rAF) callbacks to 60 Hz to preserve battery life and enforce thermal budgets. Even when WebKit’s internal compositor refreshes at ProMotion refresh rates during momentum scrolling, standard JavaScript execution contexts remain trapped in a half-rate loop. The breakthrough stems from exploiting that very compositor behavior. Apple allows hardware-accelerated scroll containers to poll touch events and compute momentum physics at the full 120 Hz hardware refresh cycle to ensure seamless gestures.

ADVERTISEMENT

By orchestrating an invisible native scroll element and listening to high-priority scroll ticks, developers can fire render passes in direct synchronization with hardware refreshes, sidestepping the throttled requestAnimationFrame pipeline entirely. Transferring rendering control to an OffscreenCanvas hosted within a Web Worker further decouples painting from main-thread garbage collection spikes, sustaining pristine frame budgets under heavy graphical loads.

The experiential difference is profound. For creative tools, charting engines, WebGL games, and high-frequency productivity apps, touch-to-glass latency drops dramatically. The tactile feeling of "rubber-banding" and inertial momentum suddenly matches native UIKit components, neutralizing one of the primary critiques leveled against web-based mobile software.

However, this technique surfaces critical strategic questions for mobile platform governance. Historically, Apple has guarded native-like responsiveness as a moat for App Store distribution. While browser engine competition heats up in the European Union under the Digital Markets Act, developers are demanding that WebKit officially expose full ProMotion refresh timers natively without requiring convoluted architectural gymnastics.

Until Cupertino unchains high-refresh displays for standard browser runtimes, this native-scroll offscreen canvas bridge stands as the gold standard for engineers determined to deliver desktop-grade and native-caliber experiences inside mobile Safari.

Sources & Primary References

Want real-time AI & tech intelligence dispatches?

Join the official TrendingTech Daily Telegram channel for breaking research, model launches, and market analysis.

Join Telegram Channel
Partner Intelligence

Automate Your Data & AI Infrastructure

Deploy autonomous agent pipelines and custom data integrations with Automation by Meir.

Discover AI Solutions →
Lex Fridman Podcast #419 — Sam Altman: OpenAI, GPT-5 & AGI
Lex Fridman & Sam Altman · 2 hr 18 min