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

After rerender table using Cells flickers and scrolls back to the top #192

Open
henrikra opened this issue Nov 7, 2018 · 3 comments
Open

Comments

@henrikra
Copy link

henrikra commented Nov 7, 2018

Code for reproduction is here: https://github.com/henrikra/react-native-tableview/blob/append-items-bug/example/src/screens/Example9.js

What I would like to achieve

I would like to achieve that always when I add new items to the end of the list the list will scroll to the bottom.

What works 💚

I can achieve that when using Item from this library.

Gif

bug works

What doesn't work 🔴

When I use exactly the same code except I use Cell instead of Item it will flash and also start from the top again and also it does not animate to the bottom.

Gif

bug does not work

Conclusion

Looks like bug to me 😢 I would really hope this will get fixed because Item is too limited for me. I have to style the component. I can help also to resolve this issue if you guys point me to right place to look.

If this is not fixable do you have other suggestions on these kind of React Native iOS libraries?

@saadqbal
Copy link

Hi @henrikra have you found any good solution for your chat List ? I have tried a number of options but nothing has worked so far.

Tried RecycleListView, react-native-largelist but none has worked.

@henrikra
Copy link
Author

Nope. I just ended up using FlatList on iOS which is not ideal :/

@nyura123
Copy link
Collaborator

nyura123 commented Aug 5, 2019

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

3 participants