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

Solve separators when items are of unequal height in grid layout #128

Open
naqvitalha opened this issue Feb 24, 2022 · 3 comments
Open

Solve separators when items are of unequal height in grid layout #128

naqvitalha opened this issue Feb 24, 2022 · 3 comments

Comments

@naqvitalha
Copy link
Collaborator

What

With numColumns >=2 RecyclerFlatList unlike FlatList doesn't wrap each column in a view. This leads to more reuse of cells however, if for some reason in grid setting the children are of unequal height then separators might look off. While there is a way to fix horizontal separators by adding them on top of items rather than bottom but if there is a need to add a vertical ones then it can be a problem. RFL doesn't offer vertical separators and the intent is not to add those however, even if the developers try to add those themselves the separator needs to be added to the tallest item which won't be possible to determine.

It's a good problem and we can solve it in the future. I don't see this being a major use case right now.

Image

Screen Shot 2022-02-24 at 14 27 40

@Miigaarino
Copy link

Hello, did it get fixed?

@Nantris
Copy link

Nantris commented Apr 19, 2024

Any update on this? I assume not given that #44 is closed.

@Veeksi
Copy link

Veeksi commented Oct 29, 2024

Yeah I am also experiencing this issue

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

4 participants