Skip to content

<transition appear> is breaking/flickering when toggling hide/show while transition is happening #10677

Closed
@rs3d

Description

@rs3d

Vue version

3.4.21

Link to minimal reproduction

https://codesandbox.io/p/sandbox/adoring-roman-nlw932

Steps to reproduce

Spam click the Show Overlay button

transition-appear-vue3.mp4

What is expected?

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

transition-appear-vue2.mp4

What is actually happening?

The behavior from vue@2 is exptected.
Demo: https://codesandbox.io/p/sandbox/heuristic-gould-pyl93t i

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor
    Memory: 34.41 GB / 63.91 GB
  Binaries:
    Node: 20.11.1 - C:\Program Files\nodejs\node.EXE
    npm: 6.14.18 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (123.0.2420.81)
    Internet Explorer: 11.0.22621.1

Any additional comments?

Related issue without "appear" option #2482

Metadata

Metadata

Assignees

No one assigned

    Labels

    has PRA pull request has already been submitted to solve the issuescope: transition

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions