Hi there,
I have a clipped scroll view with a grid with some widgets inside. The Grid and Scroll view allow vertical movement and filling. However scrolling the list is always only half as fast as the input finger movement, which means that the element initially touched doesn't stay below the finger, even though there are enough elements in the list and "restrict within panel" would not kick. I noticed that our widgets are entering the clipped area of the scroll view horizontally by a little bit, and testing showed that this was the problem.
How to reproduce:
- Create a UIScrollView with vertical movement, enable restrict within panel and enable iOS Drag Emulation
- Create a UIGrid inside with vertical arrangement
- Create enough widgets with UIDragScrollView inside so it exceeds the clipped area vertically
- Move the UIGrid horizontally so that it's content widgets get horizontally clipped as well
- Enter play mode, scroll the UIScrollView vertically
Behaviour:
While there are enough elements vertically to completely fill the clipped area, scrolling the content should keep the finger/mouse on the element touched. However, when iOS Drag simulation is on and the content gets clipped horizontally, the content only scrolls about half as fast as the finger.
I guess that the iOS Drag simulation is not ignoring axes that the movement doesn't allow, thus thinking that it should move the content slower, as it normally does in iOS Drag simulation when reaching the end of a list.
I can manage, by resizing our widgets or clipped area, but I thought you might want to know.
Please ask, if you have any questions. Have a great day!