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
There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
Current behavior
When scrolling my dataTable with virtualScroller (with preloaded data) from bottom to top there is a point where no data is present and there is no dataTable row displayed. When inspecting the issue it seems the problem happens when onScrollIndexChange event has e.first < 0 {first: -12, last: 79} scrolling further to top -> everything is back to normal when e.first >= 0 {first: 0 last: 72} . Don't know why and how it happens that e.first < 0.
Expected behavior
Data should be visible in any point when scrolling with virtualScroller. Make e.first not possible to be < 0, find why and fix the issue or just make it that if e.first < 0 then just use 0 with proper e.last translation. In my example would be just to use.
React version:
17.0.1
PrimeReact version:
7.0.0
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]
The text was updated successfully, but these errors were encountered:
There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Current behavior
When scrolling my dataTable with virtualScroller (with preloaded data) from bottom to top there is a point where no data is present and there is no dataTable row displayed. When inspecting the issue it seems the problem happens when onScrollIndexChange event has e.first < 0 {first: -12, last: 79} scrolling further to top -> everything is back to normal when e.first >= 0 {first: 0 last: 72} . Don't know why and how it happens that e.first < 0.
Expected behavior
Data should be visible in any point when scrolling with virtualScroller. Make e.first not possible to be < 0, find why and fix the issue or just make it that if e.first < 0 then just use 0 with proper e.last translation. In my example would be just to use.
17.0.1
7.0.0
The text was updated successfully, but these errors were encountered: