<transition> : Keep Element where it was defined at "*-enter-to" #10264
Unanswered
DevKame
asked this question in
Help/Questions
Replies: 1 comment 2 replies
-
That's because the |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an element that i want to fade into view when page gets opened, here is part of the component:
Template:
Style:
It just works how i want it, BUT:
as soon as the animation is over, the picutre just "jumps" unsmoothly in another position. And i might know why: i did only define a
left
attribute for this absolute element but nobottom
ortop
Attribute. If i uncomment thebottom
Attribute atthe element stays exactly where it should be. But no animation happens then there. Only the
opacity
happens smoothly but Vue totally ignores animating thebottom
attribute. I think i just missed a small but important detail, but i dont know which one, so anyone can tell me?I only provided snippets of the code og whom i thought is important: In case i missed something crucial, here the complete components code:
Beta Was this translation helpful? Give feedback.
All reactions