`leave-to` class is not removed when transition ends when using `v-show` and being immediately canceled
Version
3.2.6
Reproduction link
Steps to reproduce
1ăuse v-show
2ădynamic set show true/false
3ăwhen leaveCancel hook called. leave-to class cannot remove
What is expected?
The element should cancel the animation and stay visible
What is actually happening?
The element disappears and stays hidden
How does this happen in a real scenario? Setting the show to false right after exactly one tick of setting it to true seems quite strange.
Using more than a tick to set the value properly cancels the animation
https://2x.antdv.com/components/slider/#components-slider-demo-basic like this. we have a tooltip when click slider bar. when i click other point, tootip will hide, then show again.
https://2x.antdv.com/components/slider/#components-slider-demo-basic like this. we have a tooltip when click slider bar. when i click other point, tootip will hide, then show again.
Which the tooltip should not hide when you keep clicking /moving on other points.
Which the tooltip should not hide when you keep clicking /moving on other points.
@dsonet
It doesnât matter, whether itâs hidden or not, itâs reasonable. Iâm just giving a scenario