Post #1091804
2026-03-31 09:37 UTC
Folks asked if there was a way to disable Chrome's own 'back' transitions, and I didn't think there was, but… you can use a CloseWatcher to listen for the back gesture (which disables Chrome's transition), and then call history.back().
https://mastodon.social/@firefoxwebdevs/116295985768415581
Replies (4)
-
@jaffathecake@mastodon.social 2026-03-31 09:38
Here's a demo https://simple-vt-demos.jakearchibald.com/gross-cube-transition-shaded-chrome-hack/
-
@amxmln@mastodon.design 2026-03-31 10:19
@jaffathecake That’s cool! Now if only that worked in Safari as well…especially for installed PWAs and paginated lists, custom view transitions can feel much better than the browser defaults. 😅
-
@Lukew@toot.wales 2026-03-31 17:28
@jaffathecake cursed, I like it.
-
@tomayac@toot.cafe 2026-03-31 18:59
@jaffathecake That's pretty cool. And it even seems like a feature, not a bug 🎉. Great discovery!