How does button works in regards to tapping?
I would like to simulate a tapping on a control. To do so I cannot just handle ‘TouchUp’ event because I want to ensure the user tapped on that location and didn’t just move his finger and released it over my control.
Good scenario: Tapping on my control
Bad scenario: touching on a place outside my control, Moving while touching to my control, Releasing the touch -> This will cause to touch up yet I don’t want to handle that scenario.
Eran.
Thank you for replying. I found the answer.
If you explicitly force capture to specific element (ie elementA) then all the following events will be routed to that element.
If you don’t force capture to a specific element then the touch up event will fire on the last element you were on his boundaries when you release the touch.