<transition> does not apply any transform attributes #10062
Replies: 1 comment
-
I solved the problem myself. I already had a transform attribute in the css part for the same elements that are meant to be animated using transform |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Im new to animating using Vue´s and practising around. I use Vue 3 and
<script setup>
In my current project i want to render a few divs when their parent Element is scrolled in. The animation worked with
opacity
but vue seems to ignore any attributes regardingtransform
.Template:
As you can see, every .keyWordHolder is rendered under the condition that "keywordsVisible" is true.
The Script:
And the CSS containing the Vue transition classes:
What have i tried so far:
i know that only accepts one root element. and i have this. but i used multiple ´s with the same class for different elements so i deleted every other than the very first
tried only to aim specificly the transform attribute by changing the css classes:
i tried to rewrite the transform attribute:
Beta Was this translation helpful? Give feedback.
All reactions