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

Layout is sometimes broken after data is updated #1318

Open
Elrohil44 opened this issue Aug 13, 2024 · 2 comments
Open

Layout is sometimes broken after data is updated #1318

Elrohil44 opened this issue Aug 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Elrohil44
Copy link

Current behavior

Sometimes when data is updated and some sections are inserted and/or removed, then the layout breaks. In my case the last item is cut off although the footer is displayed.
Reproduction video

  1. At first the content is correctly displayed
  2. I press toggle elements to remove two elements from data array
  3. The last element is not rendered correctly – it does not fit within render window

Expected behavior

All elements should be fully visible after content changes.

To Reproduce

https://github.com/Elrohil44/flash-list-bug

Platform:

  • [ ? ] iOS
  • [ X ] Android

Environment

1.7.1

@Elrohil44 Elrohil44 added the bug Something isn't working label Aug 13, 2024
@hthieu1110
Copy link

I got the same behavior, if I change the elements in the list, sometime it got disappear. It's random but I find that it happens usually when switching for a long list to shorter one, in the inverse case, from short list to longer list, I cannot produce the bug.

@nduyvu1511
Copy link

I have the same problem. Each message item has a dynamic height, so I had to revert back to using FlatList. Hopefully, it will be fixed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants