cancel
Showing results for 
Search instead for 
Did you mean: 

swipeContainer cannot work

V.H
Senior

Hi,

  Add a button on the swipeContainer, the swipeContainer cannot slide when the starting point of the gesture is on this button.

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2
Romain DIELEMAN
ST Employee

Hi,

Just for our knowledge what version of TouchGX are you using ?

This event is expected as TouchGFX first gets the coordinate of your first touch which will be used for the button. You would need to overwrite the touch implementation of the button widget where maybe you could cancel the button trigger when the x of the touch evolves (so when you do a swipe to the right or left).

/Romain