As you can see in the bellow images, I have an inventory list on the side of the screen which is scrollable vertically.
At the bottom of the list I also have a button which collapses and expands the inventory list.
The way I have it setup now is that the collapse button is part of the Grid so it goes up and down with the scrolling list, which is fine until I scroll down, then my button disappears.
Is there a way do a check on that button if it hits the edge of the ScrollView, to stop going further down?
I also tried to put the button separate, out of the Grid list, so it doesn't move with the buttons, but the problem is if I remove items from my list, when my list shrinks the button remains on the bottom.
Again, is it possible to check if the list is shrinked and somehow move the button further up?


