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-native-tab-navigator开源库问题 #1

Open
1181631922 opened this issue Apr 8, 2016 · 7 comments
Open

react-native-tab-navigator开源库问题 #1

1181631922 opened this issue Apr 8, 2016 · 7 comments

Comments

@1181631922
Copy link

这个开源库ios和android都通用么,现在有bug么?

@yuanguozheng
Copy link
Owner

通用的,主要就是View的切换,暂时没发现什么bug

@1181631922
Copy link
Author

我用的时候发现有时候tab会跑到顶部,在github上提问了,但是作者没有回答

@yuanguozheng
Copy link
Owner

我还没遇到遇到tab到顶部的问题,你看看flex的设置吧

@JasonLeeSen
Copy link

您好,请问我在TabNavigator设置了一个navigator作为childview,当navigator push到深一层的页面时,我希望把tab隐藏掉,请问,如何实现此类动作(隐藏tab的方法我知道,到时如何消息传递不是很明白)

@yuanguozheng
Copy link
Owner

@JasonLeeSen 可以在你这个ChildView加载完成的时候,通过回调函数操作TabNavigator,在push的时候是允许你传一个对象进去的,这个对象里可以传回调函数,或者其他的东西,只要能把控制TabNavigator的函数或者参数告诉你的ChildView,即可实现控制

@suyie001
Copy link

你好,本人刚入坑,我按照您的教程写的,但是Navigator 无论怎么设置 都不会显示。。怎么解决啊

@yuanguozheng
Copy link
Owner

@suyie001 什么意思?如果你用的是新版,可以看看它这个库的文档,可能会有一些不同

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

4 participants