AI Weekly Malaysia

Summaries

Short AI and tech summaries with source links, signal scores, and why each update matters for builders, founders, and Malaysian tech workers.

Reset

Showing 1-1 of 1 results

DateProviderScoreSummary
25 Nov 2026, 11:04 AMHacker News7.0 Bypassing iOS Safari's 60 FPS Limit to Build Web Applications That Feel Native

Rida F'kih writes that iOS Safari caps requestAnimationFrame at 60 Hz even on 120 Hz iPhones unless you enable the buried "Prefer Page Rendering Updates near 60fps" developer flag, so gesture-driven web interactions feel sluggish. The proposed workaround is to stop animating from JS touch/pointer events and instead place elements inside a scrollable container so the compositor thread drives motion, then read scroll position outside the renderer pass to extract native bounce, momentum, and snap points. The post builds on Devon Govett's October React Aria piece "Scrolling is All You Need: Building a Swipeable Sheet" and a Jordan Walke demo video on X.

Why: If your mobile web app implements drag or swipe by setting CSS transforms inside touchmove/pointermove handlers, that path tops out at 60 FPS on a 120 Hz iPhone — half the display's refresh rate — while a compositor-driven scroll container does not. The concrete decision is whether to restructure high-frequency interactions (sheets, carousels, dials, trackpad-style panning) around a scrollable region plus scroll-position readback, versus accepting 60 FPS or telling users to flip a Safari developer flag they will never find.

Top