Hi guys!
I have the following problem:
There is a draggable with attached methods onPress and onRelease. The draggable component has a button child. When I click on the draggable but outside of the button both events get fired. But when i click on the button only the onPress event gets fired (you can check this in the browser console). Same result happens if I put an input as a child and click on it.
Codepen: http://codepen.io/anon/pen/jqqyEQ
I need a way to fire both onPress and onRelease events when I click on buttons and inputs that are children of the draggable component.
Thanks in advance!