For example if I have a DataGrid with 5 items (all showing) and verticalScrollPolicy="off", I still can scroll it by clicking and holding on an item and dragging it down. This seems weird because the 1st item disappears while the datagrid seems to have a null item at the end (a line with nothing). How can i fix it?
I found a solution at:
but the problem persists if i try to navigate with the keyboard.
If all are showing, you shouldn't need verticalScrollPolicy. Maybe your
size calculation didn't factor in viewMetrics.
Thanks harUI, removing the property (verticalScrollPolicy="off") from the DataGrid solved the problem.