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

How to make LargeList items heights #445

Open
abdullahIsa opened this issue May 14, 2021 · 6 comments
Open

How to make LargeList items heights #445

abdullahIsa opened this issue May 14, 2021 · 6 comments

Comments

@abdullahIsa
Copy link

How to make LargeList items take on their own heights, as each items have different heights as the component renders, for instance a message box that has an image and a text reply this kinds of items will have different heights and so on, so how to get this done, thanks.

@shemraj0809
Copy link

I seem to have an issue which is for the same reason. I use the list with sections and they are collapsed on entry. When expanding these sections they data doesnt come up correctly within the section.

@jgalianoz
Copy link

@abdullahIsa @shemraj0809 Maybe you can try add this line heightForIndexPath={() => 'auto'}

@ghost
Copy link

ghost commented Jan 13, 2023

@jgalianoz @bolan9999 it's not working
it take only number
my issue here when data is hide but data space is not hide
how to hide data space ??
output

@AftabUfaq
Copy link

AftabUfaq commented Jan 13, 2023

@jgalianoz @bolan9999 it's not working
it take only number
my issue here when data is hide but data space is not hide
how to hide data space ??
output

this worked for me fine. please share your code. and which dependency version your are using

@ghost
Copy link

ghost commented Jan 13, 2023

@jgalianoz @bolan9999 it's not working
it take only number
my issue here when data is hide but data space is not hide
how to hide data space ??
output

this worked for me fine. please share your code. and which dependency version your are using

here is more code

please help me if you have solution

@AftabUfaq
Copy link

@abdullahIsa @shemraj0809 Maybe you can try add this line heightForIndexPath={() => 'auto'}

this work only when we have a single header with 2 to more not working,

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