Virtual Scroller: does not work in "vertical mode" depending on screen size #5636
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
The component works if the screen is tiny, however when using a large width it does not even trigger the lazy load method and displays two blank items.
Reproducer
https://stackblitz.com/~/github.com/capoia/primevue-virtualscroller
PrimeVue version
3.47.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior
It works:
1 - Open stackblitz
2 - Resize the preview window to the point where you can only see one item in the list.
3 - Refresh the page in the preview window (not all stackblitz)
4 - Use horizontal scrolling and it should work correctly
Does not work:
1 - Open stackblitz
2 - Resize the preview window to the point where you can see two or more items in the list
3 - Refresh the page in the preview window (not all stackblitz)
4 - Use horizontal scrolling and it doesn't work, nor does it call the lazy load function.
Expected behavior
Regardless of the screen size, the lazy load is activated and the lazy load data is correct, because when it happens (depending on the screen size) it still has the wrong first.
The text was updated successfully, but these errors were encountered: