Ion-segment inside Ion-slide

Hi!

I am trying to create a UI using slides and segments. The thing is whenever I swipe a slide that contains a segment component, the click event for the segment is triggering. I tried using the event ionSlideTouchStart to disable the segment whenever i’m swiping, but it seems the click event for the segment triggers much faster than ionSlideTouchStart.