# Ion-segment inside Ion-slide

**URL:** <https://forum.ionicframework.com/t/ion-segment-inside-ion-slide/188453>\
**Category:** Ionic Framework\
**Created:** [April 30, 2020, 3:52am UTC](https://forum.ionicframework.com/t/ion-segment-inside-ion-slide/188453 "2020-04-30T03:52:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ariel101](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ariel101/32/132010_2.png) [@ariel101](https://forum.ionicframework.com/u/ariel101)\
**Post date:** [April 30, 2020, 3:52am UTC](https://forum.ionicframework.com/t/ion-segment-inside-ion-slide/188453/1 "2020-04-30T03:52:24Z")

</div>

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`.
