react-native-wheely icon indicating copy to clipboard operation
react-native-wheely copied to clipboard

Dynamic item height?

Open BlagojeV93 opened this issue 1 year ago • 0 comments

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 avatar Feb 14 '24 10:02 BlagojeV93