Skip to content

<transition> is breaking/flickering when toggling really fast (spam clicking a button to toggle) #2482

New issue

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

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

Already on GitHub? # to your account

Closed
DarkC0der11 opened this issue Oct 25, 2020 · 0 comments · Fixed by #10688
Labels
🐞 bug Something isn't working scope: transition

Comments

@DarkC0der11
Copy link

Version

3.0.2

Reproduction link

https://codesandbox.io/s/nervous-hooks-blcjw?file=/src/App.vue

Steps to reproduce

Spam click the Show Overlay button

What is expected?

The fade transition should smoothly toggle between opacity: 0 and opacity: 1. no matter how fast you click.

What is actually happening?

The fade transition constantly shows/hides abruptly while spam clicking.


Exactly same transition works smoothly in Vue 2 here I am attaching sandbox for that.
https://codesandbox.io/s/suspicious-galileo-0d8wt?file=/src/App.vue

@posva posva added scope: transition 🐞 bug Something isn't working labels Oct 26, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
🐞 bug Something isn't working scope: transition
Projects
None yet
2 participants