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

Dynamic item height? #70

Open
BlagojeV93 opened this issue Feb 14, 2024 · 0 comments
Open

Dynamic item height? #70

BlagojeV93 opened this issue Feb 14, 2024 · 0 comments

Comments

@BlagojeV93
Copy link

BlagojeV93 commented Feb 14, 2024

Is it possible to have dynamic item height based on the length of the text option?
I have an use case where I have 4 options, 2 of them are normal "short" options, but the other two are long texts that are being cut off the screen if I don't set the itemHeight manually. But if I do that it looks bad for the first two options.

Screenshot 2024-02-14 at 11 05 58
Screenshot 2024-02-14 at 11 06 04

I have itemTextStyle set for option text and no itemStyle set. I'm just wondering if this is possible with some styling or the option text can't impact the item height at all

@BlagojeV93 BlagojeV93 changed the title Dynamic item height"? Dynamic item height? Feb 14, 2024
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

1 participant