#Motion one doesn't work when it's used with view transitions

1 messages · Page 1 of 1 (latest)

static shale
#

I know this isn't the right place to ask about this, but I'll try it anyways, maybe someone comes up with a good idea. On a website which uses Astro's view transitions, on the first load animations work as expected. The problem is when I navigate to another page and get back to the page which uses motion one animations, they stop working. And therefore some elements which use animations, remain in their initial state (with opacity: 0) and some remain in their final state (opacity: 1). However, in Firefox, which doesn't support view transitions API and uses normal full page reload as a fallback behaviour, it works fine

static shale
#

I guess I have to rerun the script on every time the page loads