Nativebase: Tab cannot scroll horizontally

Created on 20 Sep 2016  Â·  11Comments  Â·  Source: GeekyAnts/NativeBase

https://github.com/skv-headless/react-native-scrollable-tab-view
react-native-scrollable-tab-view Has a property can control scrolling on tab content to change tab.

locked (Bool) - disables horizontal dragging to scroll between tabs, default is false.

but in NativeBase , it is not available.

Most helpful comment

locked={true} isn't working?

All 11 comments

locked={true} isn't working?

I noticed rotating the screen horizontal renders tabs incorrectly. In my case I have three tabs and it shows the content of two tabs when I rotate the screen horizontal. Is this a known issue?

NativeBase doesn't have 100% support for landscape mode yet. We're working on it.

Having this issue, but the horizontal dragging effectively works when starting it on the left-most or right-most parts of the screen (on a 4-5 characters wide area). @gordonpro, have you tried ?

Any idea why that would be ?

Closing this as landscape mode is not high on our priority list.

wait… how is that related to landscape ?

I personally no longer need that specific feature, but it remains unsolved, and it seems like a pretty major bug to me.

Oh, I got confused. I just correlated the word horizontal to landscape. Will look into it. Since we're using scrollable-tab-views for it, we might need to upgrade to a newer version of it maybe.

In my case the scroll horizontal scroll works, however it only does when pulling from the edges of the view not on the entire view.

Yep, same as what I experienced and described in my first comment. I am still not sure if that is the same as gorgonpro's original issue though.

Added edgeHitWidth prop to Tabs. Default is set to 30. You can set it to a higher value for easier swiping.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nschurmann picture nschurmann  Â·  3Comments

Bundas picture Bundas  Â·  3Comments

sihemhssine picture sihemhssine  Â·  3Comments

eggybot picture eggybot  Â·  3Comments

bsiddiqui picture bsiddiqui  Â·  3Comments