# Disable swipe when clicking inside a container

**URL:** <https://community.appfarm.io/t/disable-swipe-when-clicking-inside-a-container/731>\
**Category:** Ask the community\
**Created:** [September 27, 2023, 9:19am UTC](https://community.appfarm.io/t/disable-swipe-when-clicking-inside-a-container/731 "2023-09-27T09:19:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan18](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/johan18/32/748_2.png) [@Johan18](https://community.appfarm.io/u/Johan18)\
**Post date:** [September 27, 2023, 9:19am UTC](https://community.appfarm.io/t/disable-swipe-when-clicking-inside-a-container/731/1 "2023-09-27T09:19:14Z")

</div>

I have a horizontal swipeable questionaire. Problem is that when I try to move the slider, i start swiping, which is not the desired (and expected!) behavior. I would say this is a bug. Is there a workaround to disable the swipe of a container?  
(and yes i tried to disable the swiping on this specific page, but that gives a very very odd behavior where it looks like its swiping a few times extra when triggered on/off)

i made a movie to explain, but that cant be uploaded. so attached a screenshot from the movie to try to show the problem. (i grabbed the slider, but instead it grabs the whole page since its swipeable.

 ![Screenshot 2023-09-27 at 11.18.03](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/eb12a9c1f60bf6fca6c1448b4d43470aeb4632f7.png)

regards,  
Johan

---

<div class="post-metadata">

**Author:** ![HJT](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/hjt/32/64_2.png) [@HJT](https://community.appfarm.io/u/HJT)\
**Post date:** [September 27, 2023, 11:44am UTC](https://community.appfarm.io/t/disable-swipe-when-clicking-inside-a-container/731/2 "2023-09-27T11:44:21Z")

</div>

Hi,

Given that you dont need to swipe between the pages with the mouse, it should be enough to set the “disable swipe” property to true?

I got Nejra to test it on the actual app and it looks like that fixed it? Can you confirm, or is it a problem still? 😃

---

<div class="post-metadata">

**Author:** ![Johan18](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/johan18/32/748_2.png) [@Johan18](https://community.appfarm.io/u/Johan18)\
**Post date:** [September 28, 2023, 7:04am UTC](https://community.appfarm.io/t/disable-swipe-when-clicking-inside-a-container/731/3 "2023-09-28T07:04:15Z")

</div>

I turned off the swiping since the slider didn´t work when it was activated. But ideally I would like to keep the swipe possibility…

Expected behavior would be that when clicking on the slider, it would activate the slider and control the slider instead of “grabbing” for swipe…

---

<div class="post-metadata">

**Author:** ![HJT](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/hjt/32/64_2.png) [@HJT](https://community.appfarm.io/u/HJT)\
**Post date:** [September 28, 2023, 12:29pm UTC](https://community.appfarm.io/t/disable-swipe-when-clicking-inside-a-container/731/4 "2023-09-28T12:29:45Z")

</div>

I understand 😃

I will register a challenge!
