react-native-dropdown-picker icon indicating copy to clipboard operation
react-native-dropdown-picker copied to clipboard

Multiple rows

Open AlejandroGutierrezB opened this issue 2 years ago • 2 comments

Is there a ways to make the component show multiple rows like here:

image

I don't find a way to pass a ref, or change style via props to the container.

This is essentially what I would like to do, I can do it in web but I don't find in the docs a way of doing it crossplatform using the library API.

<div class="css-view-175oi2r r-flexDirection-18u37iz r-alignItems-1awozwy r-flexGrow-16y2uox" style="
    max-width: 300px;
    max-height: 120px;
    flex-wrap: wrap;
    row-gap: 12px;
    overflow: auto;
"></div>

Am I missing something? Otherwise it would be nice to also expose that container style prop to get more flexibility.

AlejandroGutierrezB avatar Sep 25 '23 13:09 AlejandroGutierrezB

Found props extendableBadgeCont which solved my case! Thanks to the great people who maintains for such a good repo :)

Screenshot 2023-10-02 at 21 52 18

Neiso avatar Oct 02 '23 14:10 Neiso

Found props extendableBadgeCont which solved my case! Thanks to the great people who maintains for such a good repo :)

Screenshot 2023-10-02 at 21 52 18

do you know the prop to style the container? I don't seem to find the one as I want to cap it after 3 lines and make it overflow

AlejandroGutierrezB avatar Oct 04 '23 15:10 AlejandroGutierrezB