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 should better not diaplay "No Data" when loading is true. #8647

Closed
Tarocch1 opened this issue Dec 18, 2017 · 0 comments
Closed

List should better not diaplay "No Data" when loading is true. #8647

Tarocch1 opened this issue Dec 18, 2017 · 0 comments
Assignees

Comments

@Tarocch1
Copy link

@Tarocch1 Tarocch1 commented Dec 18, 2017

What problem does this feature solve?

When “dataSource” of List is an empty array, there should be a "No Data" tip. But if it is loading, we are not sure if there is any data, the "No Data" tip shouldn't be displayed.

What does the proposed API look like?

<List
loading={true}
dataSource={[]}
renderItem={item => (
    //some code
)}
/>
nikogu added a commit that referenced this issue Dec 21, 2017
nikogu added a commit that referenced this issue Dec 22, 2017
nikogu added a commit that referenced this issue Dec 29, 2017
…#8647 #8659 (#8702)

* List not display NoData when loading state & customize Spin indicator. #8647 #8659

* fixed ci warning

* fix: empty block
@nikogu nikogu closed this Dec 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants