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

[Bug Report][3.5.1] v-vitual-scroll performance issue when used with pinia-jsonapi #19121

Closed
Bartheleway opened this issue Jan 29, 2024 · 2 comments
Labels
duplicate The issue has already been reported

Comments

@Bartheleway
Copy link

Environment

Vuetify Version: 3.5.1
Vue Version: 3.4.15
Browsers: Chrome 121.0.0.0
OS: Windows 10

Steps to reproduce

  1. Replace the toggle button by a router navigation
  2. Display a virtual scroller on each page
  3. Navigate to second page
  4. Navigate back to first page using "previous" button on the browser

Expected Behavior

Load time almost equals for first page (1st load & 2nd load)

Actual Behavior

2nd loading is almost crashing my browser with CPU peak for 20s sometimes.

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

Reproduction link isn't really demonstrating the bug as I failed to add vue-router to playground.

I didn't find any help on how to do a playground with navigation so I did something as close as possible to reality. If it doesn't help, I will try to setup a small git repo as my code is private so I can't directly share my project.

@Bartheleway
Copy link
Author

I tried a more complex example but i really can't reproduce the issue on the playground.
I updated the libs and I still have the issue.
I also notice the issue is happening with:

  • v-autocomplete
  • v-select
  • v-combobox (I assume)

They all use virtual-scroller internally so I think it is related to this. Maybe I will start a git repo to show the issue instead of trying in the playground.

@Bartheleway Bartheleway changed the title [Bug Report][3.5.1] v-vitual-scroll performance issue when navigate twice [Bug Report][3.5.1] v-vitual-scroll performance issue when used with pinia-jsonapi Apr 1, 2024
@KaelWD
Copy link
Member

KaelWD commented Jul 20, 2024

Duplicate of #18806

@KaelWD KaelWD marked this as a duplicate of #18806 Jul 20, 2024
@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2024
@KaelWD KaelWD added the duplicate The issue has already been reported label Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants