如何使标签高度固定在本机基础上

时间:2018-04-30 05:51:44

标签: react-native native-base

main view is made of 2 tabs under a view with header body and footer 当一个选项卡为列表并在本机库中滚动时,所有选项卡的高度都会增加

first tab is ordinary view with some text and second tab is a list of customized card item as follows

这就是它的工作原理

this is how it works

1 个答案:

答案 0 :(得分:0)

使用基于本机的语言时,请尝试将<Tabs />放在<Content />之外,因为它可以滚动。

与文档中的内容一样 https://docs.nativebase.io/Components.html#tabs-def-headref