Hi,
I am having a large image in a scrollview. Scrolling around works. Within the scrollview I have some buttons overlaying the image. Works all fine.
However. If I have my finger accidentally over a Button, scrolling the whole image and then release the touch an onRealese Event is fired which is unwanted. The finger is not over the interactive element anymore, thus there should not be an OnRelease event.
Alternativly I would need Events for the scrollview itself. Is there something like in native IOS such as “onWillStartDragging”, “onDidStartDragging”, “onDrag”, “onWillEndDragging”, “onDidEndDrag”???
Well at least I want to avoid that things get clicked/Touched while I am dragging.
Another unwanted thing is: I have other Buttons on top of the scrollview. If I click the scrollview to scroll, but release on an overlaying button, than its release event is fired as well. Wich is also unwanted.
As for your hint… hmmm. need to try. Whats about the - how do you call that - animation, when you release but the content is still under Animation and bounces and what not?
I guess I could use this one mentioned event in combination with a timer to solve my problem.
However my JS Skills are not so good and so far I can not listen to the event