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 grid view won't scroll to an item that is to the left or right of the visible portion.
Here's a fix I used:
case AQGridViewScrollPositionTop:
if (self.layoutDirection == AQGridViewLayoutDirectionHorizontal) {
targetRect.origin.x = gridRect.origin.x;
} else {
targetRect.origin.y = gridRect.origin.y; // set target y origin to cell's y origin
}
break;
The grid view won't scroll to an item that is to the left or right of the visible portion.
Here's a fix I used:
case AQGridViewScrollPositionTop:
if (self.layoutDirection == AQGridViewLayoutDirectionHorizontal) {
targetRect.origin.x = gridRect.origin.x;
} else {
targetRect.origin.y = gridRect.origin.y; // set target y origin to cell's y origin
}
break;
The text was updated successfully, but these errors were encountered: