Virtual Scroller: Event first and last behave differently #7095
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
In the virtual scroller event, first is counted zero based, while last is counted 1 based.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/f5xvgjnv?file=src%2FApp.vue
Environment
Stackblitz Environment
Vue version
3.2.45
PrimeVue version
4.2.5
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
See this screenshot:
Expected behavior
The value of last in the event should also be counted zero based and should point to 9999 in the stackblitz example.
The text was updated successfully, but these errors were encountered: