You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm working on a project that has kind of multi gesture menu.
I have transformer, swipe, buttons so and so.
I found out that if I have a UI element (let's call it the Control Panel) has a child, the transform gesture inputs include the children of the panel. so even if I try to drag the child (doesn't have transformer or transform gesture components) it moves the parent,
so my problem, as seen in the picture there is a Lock area and swipe area both children of the middle circle that is called Control Panel. when I try to swipe in the swipe area (swipe is different child because drag and swipe is almost the same thing) when the lock area is on (simetimes he is off and then it works ok) he drags all the panel like I touch the middle circle.
any ideas how to solve this?
looked in the docs, didn't find anything related to transfer the gestures to children
My hierarchy:
Parent: ControlPanel has Transform Gesture, Transformer, Tap Gesture
Child 1: SwipeBack has Swipe(Custom) Gesture
Child 2: SwipeNext has Swipe(Custom) Gesture
Child 3: LockPanel has Long Press Gesture and 4 images childs that surround the Control Panel (also works here the children accept the long press gesture as it part of the parent)
Activity