95
Views
8
Comments
How to Disable swipe Function in Navigation Tabs
Application Type
Mobile
Service Studio Version
11.54.9 (Build 62390)

Hi Experts 

How can I disable swipe in Navigation tabs?

Currently I have google map on one of the tabs and while scrolling it triggers swipe all the time and switch to another tab. previously there was a action called disable swipe but in latest version It was not there pls help me to resolve this issue.

Thank you

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

I tried this out and don't experience the issue, when using the OutSystemsMaps component.

Did you use the Map functionality using the widgets provided from the OutSytemsMaps component, or from another component downloaded from the Forge.

Regards,

Daniel

2023-09-01 17-38-12
Dhivakar Velumani

Hi Daniel 

Thank you for your response. Maps is not an issue instead of maps if I use list of contents means also getting the issue.What I am trying to ask is how to disable swipe functionality in outsystems mobile navigation Tabs. for example by mistake I swipe means It Will go to next tab so how to prevent the swipe Functionality.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

 Maybe Maps it isn't but you made it sound like it was.

As far as I know, the Navigation/Tabs widget doesn't support swipe events only an OnTabChange event, so I don't understand the problem you experience.

Maybe its better if you could share the OML, for one to understand the challenge you face.

2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Dhivakar,

For the mentioned requirement, did you try using the TabsToggleSwipe client action from OutSystemsUI module.

Configure the Tab widget swipe functionality by setting the TabsToggleSwipe  > EnableSwipe input parameter value accordingly.

Attached image reference OutSystemsUI Version: 2.15.0 


Kind regards,

Benjith Sam

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Ah I need to spent more time in service studio, didn't know about this action.

2023-09-01 17-38-12
Dhivakar Velumani

Hi Benjith

I Think in this Enable swipe option only there. in there no option for disable swipe 

2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Dhivakar,

I would expect the TabsToggleSwipe feature to get disabled when you invoke the TabsToggleSwipe client action by passing the EnableSwipe parameter with False value.

Kind regards,

Benjith Sam

UserImage.jpg
Marc Ghosn

Hi Benjith,

I ended up on your answer searching on how to disable swipe on tabs for mobile apps.

I added the TabsToggleSwipe in the OnReady action of my screen and passed the Header.Id as parameters and it doesn't seem to work, i can still swipe through tabs.

Is there any workaround to disable swiping in tabs?

Thank you

Marc

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.