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 effect of v-show leaves is not working in some cases #2757

Closed
hoiheart opened this issue Dec 8, 2020 · 0 comments · Fixed by #3230
Closed

Transition effect of v-show leaves is not working in some cases #2757

hoiheart opened this issue Dec 8, 2020 · 0 comments · Fixed by #3230
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working scope: transition

Comments

@hoiheart
Copy link

hoiheart commented Dec 8, 2020

Version

3.0.4

Reproduction link

https://codesandbox.io/s/practical-herschel-62pxj?file=/src/App.vue

Steps to reproduce

when to watch and use transition reference data

The transition effect of v-show leaves is not working.

  • It works well when used as v-if.
  • It works well if the code used as v-if is present together. (Case where comment was removed from minimal link)
  • It works well if temp is not used in template

What is expected?

Apply transition when v-show leaves

What is actually happening?

display: none style added and transition not active

@hoiheart hoiheart changed the title v-if and v-show behave differently in transition Transition effect of v-show leaves is not working in some cases Dec 8, 2020
@posva posva added 🐞 bug Something isn't working ❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. scope: transition labels Dec 8, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.