Hi there, I'm implementing some widgets that need to be dragged vertically, so I attached a UIDragObject to them with drag effect "momentumAndSpring" and "keep visible" checked.
I've been trying really hard to set an upper/lower limit for the spring/keep visible feature. I still can't get it done!
here are some screens to understand it better (gray area is UIRoot area)
basically, my widgets should be resting on top of the screen with most of their content hidden outside camera's view (see max.png), and just a little visible part that you can use to drag down to see the full contents... when fully dragged down, the widget shouldn't let the upper edge be shown on screen (see min.png ).
what would you recommend me to approach this? I really need the momentum and spring effect on it, any suggestions?