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
Virtual Scroller loads 9x as much as is visible at any one time. #12049
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-webpack
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
Comments
github-actions
bot
added
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-webpack
labels
Jan 14, 2022
The computation is a bit more complicated:
So you can reduce the number of rows by setting these props to a smaller ratio (like 0.2) |
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 15, 2022
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 16, 2022
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 16, 2022
rstoenescu
pushed a commit
that referenced
this issue
Jan 17, 2022
rstoenescu
pushed a commit
that referenced
this issue
Jan 17, 2022
Fix will be available in Quasar v2.4.11 and v1.17.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-webpack
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
I've built a 'ThumbWall' component. It shows movie posters. Each row is 8 movie posters. The screen can show a maximum of 3 rows, so 24 posters on the screen. But QVirtuaScroll insists on loading 30 rows, that's 240 images. The documentation states:
Hoever, the component does not seem to calculate this correctly and appears to ignore the virtual-scroll-slice-size prop.
What did you expect to happen?
I expected the VirtualScroll component to preload maybe 3 rows or so (a screenful), and for it to obey the virtual-scroll-slice-size prop.
Reproduction URL
https://codepen.io/miquels/pen/GRMPpLg?editors=1111
How to reproduce?
Flavour
Quasar CLI (@quasar/cli | @quasar/app)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: