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

List在react-native中是空白 #508

Closed
gutenye opened this issue Nov 10, 2016 · 8 comments
Closed

List在react-native中是空白 #508

gutenye opened this issue Nov 10, 2016 · 8 comments
Assignees

Comments

@gutenye
Copy link
Contributor

gutenye commented Nov 10, 2016

本地环境

  • antd-mobile 版本:1.0.0-alpha.10
  • 操作系统及其版本:iOS 10
  • 浏览器及其版本:

你做了什么?

import React, { Component } from 'react'
import { View, Text } from 'react-native'
import { List, Button } from 'antd-mobile'

class App extends Component {
  render() {
    return (
      <View>
         <Button>hello</Button>
         <List>
            <List.Item><Text>foo</Text></List.Item>
         <List>
      </View>
    )
  }
}

你期待的结果是:

像官网一样正常显示

实际上的结果:

Button正常显示
List显示不出来

@warmhug
Copy link
Contributor

warmhug commented Nov 10, 2016

官网 demo 如果没问题,那就需要你仔细排查自己代码问题了

@gutenye
Copy link
Contributor Author

gutenye commented Nov 10, 2016

@warmhug 哪里可以找到官网的demo源代码?

@silentcloud
Copy link
Contributor

看看 #56 的 demo 能运行么? @gutenye

@gutenye
Copy link
Contributor Author

gutenye commented Nov 11, 2016

经测试, 在react-native 0.35.0下正常, 0.37.0下面显示空白.

@gutenye
Copy link
Contributor Author

gutenye commented Nov 11, 2016

可能和0.37的ScrollVew有关? satya164/react-native-tab-view#54 (comment)

@silentcloud
Copy link
Contributor

目前进行antd-mobile > rn 0.34 版本的兼容性测试,0.35 兼容性测试已经通过,接下来会测试 0.36和0.37

@silentcloud
Copy link
Contributor

#589 在这里处理,这个 issue 先关了

@lock
Copy link

lock bot commented May 28, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants