← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Method Bypasses iOS Safari's 60 FPS Limit for Web Animations

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • iOS Safari limits JavaScript animations to 60 FPS even on 120 Hz screens.
  • This limit makes web apps feel less native compared to native apps.
  • The compositor thread handles scrolling at full refresh rates.
  • Leveraging scroll events allows animations to bypass the 60 FPS JavaScript limit.

The iOS Safari Refresh Rate Limitation

On iOS Safari, WebKit restricts `requestAnimationFrame` to 60 Hz, even on devices with 120 Hz displays, unless a specific developer flag is enabled. This limitation also applies to touch and pointer events on standard web pages. This restriction causes web applications to feel less fluid and responsive compared to native applications, which can utilize the full refresh rate of the display.

Compositor-Driven Interactions

The key to bypassing this limitation lies in understanding how the browser handles scrolling. Scrolling is managed by the compositor thread, which operates independently of JavaScript and the main rendering thread. This allows scrolling to occur at the display's full refresh rate, providing smooth, physics-based interactions without JavaScript round-trips. The process involves the finger input going directly to the digitizer, then to the compositor, and finally to the GPU.

Leveraging Scroll Areas for High Refresh Rates

The proposed method involves placing interactive elements within a scrollable area. Instead of directly manipulating elements with JavaScript and CSS transforms, which are subject to the 60 FPS limit, the technique reads the scroll position from the compositor. This allows developers to 'extract' native bounce, physics, and momentum from the scroll area and apply them to animations, effectively achieving interactions that run at the device's native refresh rate. This can create experiences like 1:1 trackpad interactions or trackball-like momentum by making regions infinitely scrollable.

Impact on Web Application Development

This approach offers a way for web developers to create more performant and native-feeling interactions on iOS Safari without relying on hidden developer settings. By shifting the animation logic to leverage the compositor, web applications can overcome a significant performance bottleneck, potentially improving user experience and closing the gap between web and native mobile applications in terms of fluidity and responsiveness.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 26

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

A new technique allows web applications on iOS Safari to achieve higher refresh rates than the default 60 FPS limit for JavaScript-driven animations. By leveraging the browser's compositor thread for scroll events, developers can create web interactions that feel more native, matching the device's display refresh rate.