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

Foods.js页面的一些疑惑 #21

Open
jackietu opened this issue Dec 19, 2017 · 2 comments
Open

Foods.js页面的一些疑惑 #21

jackietu opened this issue Dec 19, 2017 · 2 comments
Labels

Comments

@jackietu
Copy link

image
android机上运行到这个地方,点击“天然谷薯”时,ListView不显示相关数据(如图
image
),但通过react-devtools查看
image则显示数据已经在ListView中了;另外,再次点击下拉选项(
image
)中的全部时,onPress事件无法触发,望解答,谢谢!

@ljunb
Copy link
Owner

ljunb commented Dec 19, 2017

怀疑是因为zIndex布局的问题,当时这里没有怎么适配Android的,或者需要通过以下方式来适配:

...Platform.select({
      ios: { zIndex: 998 },
      android: { elevation: 0.01, zIndex: 998 },
    }),

@jackietu
Copy link
Author

能否帮忙适配一下android的,我是新手,一直在纠结这个

@ljunb ljunb added the bug label Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants