react-native-scrollable-tab-view icon indicating copy to clipboard operation
react-native-scrollable-tab-view copied to clipboard

Nested tab view

Open nikonhub opened this issue 6 years ago • 2 comments
trafficstars

Hi,

I found a lot of related issues of almost the same problem but still have to response.

I would like to have nested tab view but scroll on the parent tabs. I tried also with ViewPagerAndroid component and react-native-tab-view combined. When I lock the child scroll, the parent scroll stops scroll either.

`

<ScrollableTabView

    <ScrollableTabView locked={true} tabLabel="ParentOne">

        <Text tabLabel="One">Tab One</Text>

        <Text tabLabel="Two">Tab Two</Text>

    </ScrollableTabView>

    <ScrollableTabView locked={true} tabLabel="ParentTwo">

        <Text tabLabel="One">Tab One</Text>

        <Text tabLabel="Two">Tab Two</Text>

    </ScrollableTabView> 

</ScrollableTabView>

`

nikonhub avatar Dec 11 '18 17:12 nikonhub

you can try https://github.com/turfaa/react-native-scrollable-tab-view-universal

turfaa avatar Jan 24 '19 08:01 turfaa

Any workaround for this behaviour? In my case child tabview touch event is ignored while scrolling is in progress. check sample video.

https://user-images.githubusercontent.com/6298342/114507107-1c3adf80-9c4c-11eb-88f9-66c01f08203f.mov

noumantahir avatar Apr 13 '21 06:04 noumantahir