Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-navigation在crn的脚手架下使用,tab navigator无法显示出来,但是在expo脚手架下是可以的 #42

Open
kfayay opened this issue Jun 9, 2019 · 3 comments

Comments

@kfayay
Copy link

kfayay commented Jun 9, 2019

react-navigation的导航tab在crn框架下无法显示,不知道有没有人碰到这个问题,同样的代码在expo下是可以正常运行的

@sunfengbiao
Copy link

你看看你的js目录是不是有点开头的临时目录 比如 “.rn_temp” 这样的目录 ,如果是这样的情况 ,可以把点去掉,重新编译在进行验证 OK

@kfayay
Copy link
Author

kfayay commented Jun 20, 2019

不是这个问题的,我的js文件并没有.rn_temp文件,在使用react-navigation时,header和底部tab的设置都会有向下偏移的情况比如需要添加
tabBarOptions: { style: {height: 100, paddingBottom: 90} }
tab的文字和图标才能正常显示。

@showtan001
Copy link

@kfayay @sunfengbiao android 在react link react-native-gesture-handler找不到MainApplication,只有BaseApplication怎么办? 是怎么解决的, 还有引入其他第三方也同样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants