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

Listview blanks when using navigator pop. #11998

Closed
krishbhattacharyya opened this issue Jan 20, 2017 · 3 comments
Closed

Listview blanks when using navigator pop. #11998

krishbhattacharyya opened this issue Jan 20, 2017 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@krishbhattacharyya
Copy link

krishbhattacharyya commented Jan 20, 2017

Hi,

@hramos I am facing two problems & can not resolve this. Can anyone explain why this is happening? Or can anyone give me the solution?

Problem NO 1:
There are two components 1) Home 2) Inner
In the Home there are list of data & when I click any one of them it route to Inner. There are also a back button with using navigator pop. There is the issue sometime reproduce - When I click on back, it routes to Home but there is no data(listview element) but when I touch on the screen the data shows properly.
Problem NO 2:
In the home component within the list data, there also some repeated data within the single row.
I have used map function for this. Sometimes ( Most of the time it shows correctly ) it is also not shown in list view, the row is showing properly but the repeated data are missing.

@krishbhattacharyya
Copy link
Author

krishbhattacharyya commented Jan 20, 2017

<ListView onEndReached={this.props.reloadArticles} onEndReachedThreshold={10} dataSource={this.props.dataSource} renderRow={this.renderPost} enableEmptySections={true} refreshControl={ <RefreshControl refreshing={this.props.isRefreshing} onRefresh={this.props._onRefresh} /> } />

@nihgwu
Copy link
Contributor

nihgwu commented Jan 20, 2017

#8607 #1831

@hramos
Copy link
Contributor

hramos commented Jan 20, 2017

This issue looks like a question that would be best asked on StackOverflow.

StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.

Will close this as this is really a question that should be asked on StackOverflow.

@hramos hramos closed this as completed Jan 20, 2017
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants