Reusing animation on different pages does not work

Hello,

I have an animation applied to a language selector. The language selector is on 2 pages, one in English and the other is in Dutch. I’ve set the trigger on Class instead of Element but still the animation is not applied on the Dutch version.

Can somebody help me with this? What am I forgetting?

Thank you.



Here is my public share link: LINK

I have taken the language selector from the Weglot UI Kit but have just made a more simplistic version myself where reusing the animation I’ve applied to it does work. A bit strange (but I’m happy with it as well because it should just work) so for now I don’t need any more help with this question.