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
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.
Current behavior
When there is data some data which is smaller then expected scrollHeight (Lets say there is only 1 row and scrollHeight is 200px), Datatable's onVirtualScroll function trigger when i scrolling horizontally.
You can check it on Plunkr.
Expected behavior
Datatable's onVirtualScroll function shouldn't trigger when i scrolling horizontal
Fix idea
When I check onBodyScroll function of ScrollableView, I found out you are not exclude scroll height of the scroll panel while you calculating viewport. It causes trouble. We shouldn't take offsetHeight, we should take clientHeight
Minimal reproduction of the problem with instructions
Please check Plunker Please tell us about your environment:
Win-10(64bit),VS-Code, npm:6.4.1 node: v8.12.0
React version:
React 16.4.2
PrimeReact version:
Primereact 2.0.1
Browser: Chrome Latest, Firefox Latest
Language: all
The text was updated successfully, but these errors were encountered:
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.
https://plnkr.co/edit/KraY9bXmw7epZOyQIXsa?p=preview
Current behavior
When there is data some data which is smaller then expected scrollHeight (Lets say there is only 1 row and scrollHeight is 200px), Datatable's onVirtualScroll function trigger when i scrolling horizontally.
You can check it on Plunkr.
Expected behavior
Datatable's onVirtualScroll function shouldn't trigger when i scrolling horizontal
Fix idea
When I check onBodyScroll function of ScrollableView, I found out you are not exclude scroll height of the scroll panel while you calculating viewport. It causes trouble. We shouldn't take offsetHeight, we should take clientHeight
Minimal reproduction of the problem with instructions
Please check Plunker
Please tell us about your environment:
Win-10(64bit),VS-Code, npm:6.4.1 node: v8.12.0
React version:
React 16.4.2
PrimeReact version:
Primereact 2.0.1
Browser: Chrome Latest, Firefox Latest
Language: all
The text was updated successfully, but these errors were encountered: