AA Adam Argyle Adam Argyle Web developer, designer and educator with more than 15 years in front-end architecture, design systems and teaching.

“If you have animations or transitions in your application, agents running those in the background, they won't run and they will get stuck, because the transitionend events don't fire. … Things are opacity zero if they're animating from that exit stage state.”

Whiskey Web and Whatnot · Hands-On Engineering Podcasts · November 2026

“If you have animations or transitions in your application, agents running those in the background, they won't run and they will get stuck, because the transitionend events don't fire. … Things are opacity zero if they're animating from that exit stage state.” — Adam Argyle, Whiskey Web and Whatnot

Context

Adam Argyle describes a bug on a web admin he works on: browsers don't run animations in inactive tabs, so agents driving the site from a background tab get stuck behind modals that never finish animating in. Developers now have to design for agents using their apps out of sight.

Transcript

Whiskey Web and Whatnot Around 35:54 into the episode
Adam Argyle

…But the thing is, we're adding more and more to them every day. Shopify, we just added to our linter no use of the CSS has selector. Here you go, everybody. You're looking for CSS in this episode. Yeah, no has. Has is wildly slow and destructive in our application. And JavaScript can be like, huh?

Robbie Wagner

But it's so cool.

Adam Argyle

It is cool. It's a super cool feature. And it's really sad to not use it. However, it's like measurably impacting our site insomuch that we banned it. And now I submitted multiple PRs today that rip it out and replace it with JavaScript. And that's just, that's just, and so, yeah. And then we've got a linter that goes in there. Now there's no code. LLMs love to do set timeout. And now we've got a linter that says no set timeout. Use transition end as much as you can. Oh my God. Actually, there's a bug that showed up today with transition end. Can I side rant us for a second? Go for it. Oh my goodness. Okay. So agents are using websites now and a lot. And they'll use them in the background, meaning the tab will be inactive. However, an agent is still interacting with it. Browsers do things to inactive tabs, one of which is they don't run animations because why would they? There's no one there to see it. So they don't quite pause them, but they don't run them, which means that if an agent has clicked a button that invokes a modal, for example…

Robbie Wagner

done.dev or whatever it was, or it tells you how it is. My goodness,

Adam Argyle

dude. Oh my goodness. So, yeah, exactly. Like, you've got these little linters that go through and lint your site to make sure, hey, every CSS, this is the PSA, everybody, right now. If you have animations or transitions in your application, agents running those in the background, they won't run…

Robbie Wagner

You're at a similar point where we used to have like a completely separate website for mobile.

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.

More from Whiskey Web and Whatnot