I thought the demo linked to twitter was much more impressive. [1] I can't believe that was web only and not native app. Absolutely blows my mind how far we have come. I know it is prototype and there are bounds to be some edge case still not polished but I think this is the first time ever Web has native app quality, and this is without much JavaScripts.
Haven't had a chance yet to check this on iOS yet, but just to mention for those who only have access to iOS, I expected the disclaimer at the top of the page to imply that the differences between the demos would be imperceptible on Android. They aren't - the canvas is significantly worse.
I guess this may be a worthy trade-off if you're confident your userbase is 100% iOS.
srcreightoday at 5:09 AM
What an incredible post. Not only the bypass , but the method of hacking through WebKit source to find UX workarounds.
andaitoday at 8:27 AM
That glass effect is very cool but very distracting.
There's a "hide scroll tracker" toggle in the hamburger menu which hides it.
petrichorkotoday at 9:01 AM
Also interesting thing is that I can use iPadâs trackpad to pan the scrollable area-based component, while the first one does nothing. Not sure if thatâs related to just some disconnected JS callback, but it surprised me that it works well out of box. I use mine as a tiny laptop, and it bothers me to reach out and touch the screen on some websites that just ignore this input option.
derangedHorsetoday at 1:18 PM
I only saw a subtle difference in the first example between the scrollable square canvases, but Iâm sure there are cases where it would be more noticeable. Nevertheless, this post was an interesting read.
afavourtoday at 12:58 PM
In case youâre wondering âwhy isnât 120fps enabled by defaultâ: on the native side iOS selectively enables it for transitions that cover a lot of the screen. If you use SwiftUI or UIKit itâs done for you but there are switches on CAAnimation (IIRC) that control it.
The web has no equivalent. So itâs all 120hz all the time, or not. And that would drain the battery more than Apple would like.
bruce343434today at 12:01 PM
When scrolling past the isometric scrolling thing in firefox, it crashes the tab. But this is a very cool article and even though I'm on linux desktop, the OffscreenCanvas technique is snappier and I will be adapting it. Thanks!
andaitoday at 8:29 AM
That isometric scrolling thing is nested, wtf! That's amazing.
doug_durhamtoday at 5:39 AM
On an iPad the compositor loses track of the cursor position as you drag things. The 60 fps javascript approach keeps everything locked. It seems like there is more work to be done.
smcleodtoday at 12:11 PM
By flip "Prefer Page Rendering Updates near 60fps" does the author mean turn it on, or turn it off? I'd assume on but that would suggest limiting pages to 60fps and it's the default setting in iOS 27.
normcutoday at 8:19 AM
Since I own a iphone 12 and have a 60hz display, I cant apply any hack related to the screen refresh rate for now... but I liked this post and if I upgrade to a newer model in the future, I'll try.
marmaramatoday at 12:08 PM
Interestingly the difference in smoothness is also noticeable on Android Chrome on a 120fps display.
iniekaastoday at 4:19 AM
This kinda felt good.
ghrltoday at 10:22 AM
Just yesterday I watched Zed's talk on porting GPUI to the browser for Delta and they were talking about the same limitation.
wiradikusumatoday at 10:04 AM
I wonder if Flutter apps (targeting web) can get this "for free" if the framework adopt this approach.
2001zhaozhaotoday at 6:27 AM
Wow very useful for my webgame! Apple pls don't notice
troupotoday at 8:19 AM
> If youâre on iOS Safari, youâll immediately be able to tell which
I had to scroll multiple times to see the difference.
While the effort is commendable, I feel it's largely wasted.
CGamesPlaytoday at 3:56 AM
That "liquid glass" scroll tracker widget is the best ocular migraine simulator I've ever encountered. If you've ever wanted to know what an ocular migraine looks like, look a few inches away from that thing and scroll the page.
jkahrs595today at 4:35 AM
> If youâre on iOS Safari
I am.
> youâll immediately be able to tell which is which
I cannot. lol
shortercodetoday at 10:08 AM
Itâs fun that Fable completely fails on this. OffscreenCanvas is _designed_ to bypass paint and go straight to the compositor and itâs not a new feature. Itâs one of the really great things about OffscreenCanvas. Primarily itâs to allow a worker to update the canvas without worrying about the main context being blocked by user interaction, layout, paint, etc.
I couldnât have told you if this would have triggered the compositor at 120Hz but if anything worked it would be this.
pjmlptoday at 9:30 AM
To me it sounds like discussing the purity of audio sound quality when using gold coated audio cables for those speakers that cost as much as a house, connected to a top end turn tablet.
Interesting from technical point of view, could not care less for all practical purposes.
__alexstoday at 10:20 AM
My phone battery is crying just looking at this.
giorgiogambatoday at 12:10 PM
this is what we need
wodenokototoday at 9:03 AM
> If youâre on iOS Safari, youâll immediately be able to tell which is which because one refreshes at most 60 times a second in a renderer pass, while the other uses the compositor.
No. The difference has nothing to do with refresh rate. They move differently using different logic. I can only tell them apart because one has inertia and keeps moving after release. If I keep my thumb down they are the same.
IPhone 17, iOS 26
throwaway63467today at 8:50 AM
Is this the same on other browsers or just a WebKit thing? Apple is know for deliberately holding back web technologies in their browser to make their apps look better in comparison, this might just be another example.
Rodminetoday at 7:31 AM
Safari is one of the greatest pieces of niche applications. It has to be made exactly good enough for web browsing that users donât feel like downloading an alternative but also exactly bad enough for building web apps on it so that developers are forced to create a native iOS app.
SV_BubbleTimetoday at 3:56 AM
I have nothing to add on IOS or a 60fps website cap⊠but I did notice the âglassâ UI element in the top left corner and how much more glass looking that is than whatever Apple tried to do. The chromatic aberrations are a nice touch.
deletedtoday at 6:13 AM
thebytesbuildertoday at 1:03 PM
[flagged]
nanapipiraratoday at 6:36 AM
Please keep liquid glass out of websites⊠It is very distracting and useless.
hnlmorgtoday at 8:20 AM
The white square glitches out on latest iOS iPhone Duo.
But my advice here is just donât do it. Respect your users battery life. If you want a native feel then compile to native code.
faangguyindiatoday at 5:48 AM
Still waiting for a Rust framework which can replace Flutter for Android and iOS development
smoldertoday at 6:15 AM
The unfortunate thing is that measuring framerate is another vector that lets you de-anonymize people, and shitty companies that operate what's left of the www all use advanced methods of de-anonymization so they can advertise or sell that shit to palantir. And governments are planning to make it illegal to have a website that isn't a spying apparatus. That's where we're at. The web is not going to be "free as in freedom" for much longer if we let trends continue. Stallman was right, outside of eating toenails or whatever.
zb3today at 5:48 AM
"Apple" should instead be named "Asshole", this describes their approach to web apps well..
catlifeonmarstoday at 4:10 AM
60fps is perfectly serviceable. That first example is updating _at most_ 60fps and that phrase is doing a lot of heavy lifting. What you see is <60fps jerks. This article feels disingenuous