Skip to content

Dynamic item height? #70

Description

@BlagojeV93

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions