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

routerView + transition +keepAlive Page component switching exception #7607

Closed
zguiyang opened this issue Jan 31, 2023 · 1 comment
Closed

Comments

@zguiyang
Copy link

Vue version

3.2.45

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-tpdwcn?file=src%2Fviews%2Fhome.vue&terminal=dev

Steps to reproduce

  1. modify any content in the script tag of the home.vue component
  2. Click on the about link in the page
  3. the page component is not loaded properly

If you do not do the above operation, directly click the home and about links in the page to switch pages without any exception

What is expected?

Page components load normally

What is actually happening?

The page does not switch properly

System Info

System:
    OS: macOS 13.2
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 92.27 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.5.0 - ~/.nvm/versions/node/v19.5.0/bin/node
    npm: 9.3.1 - ~/.nvm/versions/node/v19.5.0/bin/npm
  Browsers:
    Chrome: 109.0.5414.119
    Safari: 16.3
  npmPackages:
    vue: ^3.2.45 => 3.2.45

Any additional comments?

After testing, I found that it is the problem of wrapping and animation of transition formation in layouts/BasicLayout.vue component, but I don't know the exact cause and how to solve it

@zhangzhonghe
Copy link
Member

Duplicate of #7121

@zhangzhonghe zhangzhonghe marked this as a duplicate of #7121 Jan 31, 2023
@zhangzhonghe zhangzhonghe closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants