You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The naming first and last suggests that the same counting method is used. If this is not the case (and this is not a bug), last should maybe be renamed to size or something.
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: