Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transition animation excute immediately when I set dom style in second grade router component #2716

Closed
fly960227 opened this Issue Apr 14, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@fly960227
Copy link

commented Apr 14, 2019

Version

3.0.1

What is expected?

dont't let transition animation excute immediately

What is actually happening?

set dom style in mounted hook

mounted () {
       this.$el.style = 'background: blue; transition: background 3300ms; color: white;';
 }

but the transition animation excute immediately from white background to blue background;
this weird bug just occur when first grade router switch to secend grade router and secend grade router switch to other router

@vue-bot

This comment has been minimized.

Copy link

commented Apr 14, 2019

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

@vue-bot vue-bot closed this Apr 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.