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 issue occurs when not all rows have the same height when calculating the Maximum scroll value. Near the bottom a click below the thumb sets the thumb value to Maximum but the recalculation increases the Maximum. It can be seen that the thumb bar is not entirely at the bottom. Another scroll action is needed so that the thumb value is really set to the Maximum value.
To Reproduce
Compile and run the test application. The DataGrid displays 9 full rows and the 10th row is partly visible. Click the scrollbar at the bottom 5 times to scroll 5 entire pages down. Item with number 48 is partly visible on the top and item with number 57 is partly visible on the bottom.
Issue: if you do another page scroll by clicking below the scroll bar thumb then item number 59 is visible and the last item with number 60 is not fully visible.
Edit: I missed to set a fixed size for the main window. My tests with the attached demo app uses Height="554". This must be added to file "MainWindow.axaml". The width does not matter but should not be lower than 450 to avoid the horizontal scroll bar.
Describe the bug
The issue occurs when not all rows have the same height when calculating the Maximum scroll value. Near the bottom a click below the thumb sets the thumb value to Maximum but the recalculation increases the Maximum. It can be seen that the thumb bar is not entirely at the bottom. Another scroll action is needed so that the thumb value is really set to the Maximum value.
To Reproduce
Compile and run the test application. The DataGrid displays 9 full rows and the 10th row is partly visible. Click the scrollbar at the bottom 5 times to scroll 5 entire pages down. Item with number 48 is partly visible on the top and item with number 57 is partly visible on the bottom.
Issue: if you do another page scroll by clicking below the scroll bar thumb then item number 59 is visible and the last item with number 60 is not fully visible.
DataGridScrollEndIssue.zip
Expected behavior
The last row with number 60 is fully visible and the scrollbar thumb is entirely on the bottom.
Avalonia version
11.1.4
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: