aksonov / aksonov/react-native-router-flux

Tabbar position on Android always at the top

未关闭
#3,306 8 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
8.9k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

描述

Hi all.

### Version
- react-native-router-flux v4.0.5
- react v16.5.
- react-native v0.57.1

I have switched from another Tab component to the Router-Flux one.
Everything is working fine, except from the Tabbar position itself on android.

### Expected behaviour
```

{
console.log('Back to initial and also print this');
}}
swipeEnabled
showLabel={false}
tabBarStyle={styles.tabBarStyle}
activeBackgroundColor="white"
inactiveBackgroundColor="rgba(255, 0, 0, 0.5)"
tabBarPosition="bottom"
>
```
This is the code I have copied from the example, and I have added the ` tabBarPosition="bottom"`.

### Actual behaviour
On iOS the Tabbar is at the bottom, but on Android is at the top.

Maybe I am wrong, but for what I have read on the documentation, the default behaviour on iOS is at the botton and for Android at the top, but I thought that it was possible also on android to place the tabbar at the bottom.

Isn't it?
Thank you in advance.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。