web-ridge / react-native-paper-tabs

Smooth and fast cross platform Material Design Tabs for React Native Paper
https://reactnativepapertabs.com
MIT License
189 stars 34 forks source link

Disable swipe gestures does'nt work #25

Closed tobe-continued closed 2 years ago

tobe-continued commented 2 years ago

23

@diego-antonelli

When i disable swipe gesture, it make no effect and swipe gesture still here. i can change page with swipe left or right and header is not locked Thanks for advance.

RichardLindhout commented 2 years ago

@diego-antonelli can you look into this?

diego-antonelli commented 2 years ago

I am taking a look, the swipe indeed seems not working but for me the headers are disabled.

diego-antonelli commented 2 years ago

@tobe-continued thanks for informing. I fixed it in https://github.com/web-ridge/react-native-paper-tabs/pull/26 as soon as @RichardLindhout merges it he can publish a new version.

RichardLindhout commented 2 years ago

Thanks @diego-antonelli!

Verkland commented 2 years ago

I want the swipe functionality, but can't seem to get it to work. I have to click on the icons to navigate.

diego-antonelli commented 2 years ago

Hi @Verkland I just tested with the version 0.6.0 and seems to be working as expected. Are you sure you removed disableSwipe from the <Tabs /> component?

luisgomesredicom commented 9 months ago

Hi, the "disableSwipe" feature in "Tabs" still doesn't work