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

Different size of the containers?

Open markosrx opened this issue 1 year ago • 4 comments

Is it possible to achieve the size and position of container view(red color in image) and container list(yellow color in image) be different, not aligned? Thanks. Screenshot 2022-09-07 at 10 12 09 Screenshot 2022-09-07 at 11 27 51

markosrx avatar Sep 07 '22 08:09 markosrx

hi @markosrx , You can use props "renderItem" to customizable.

hoaphantn7604 avatar Sep 08 '22 01:09 hoaphantn7604

Hi @hoaphantn7604, thank you for your response. Do you mean I can achieve something like in the image below? I am not sure we understand well so just to check.

Simulator Screen Shot - iPhone 13 Pro Max - 2022-09-07 at 15 14 25

markosrx avatar Sep 12 '22 13:09 markosrx

hi @markosrx , Your problem been solved? Do you need my support anymore?

hoaphantn7604 avatar Sep 15 '22 02:09 hoaphantn7604

Hi @hoaphantn7604, I achieved this on image by patching your library by changing the way how const left is used...But after that I replaced this library and used some picker because I couldn't find the way to use it without patching.

markosrx avatar Sep 15 '22 09:09 markosrx

Hi @hoaphantn7604, thank you for your response. Do you mean I can achieve something like in the image below? I am not sure we understand well so just to check.

Simulator Screen Shot - iPhone 13 Pro Max - 2022-09-07 at 15 14 25

Hi, My issue is the same as you described in the above image I want only the icon to display and dropdown for te same but the width needs to pass to get the options container width do you have any solution?

dprajapati1179 avatar Nov 02 '22 04:11 dprajapati1179

Any solution?

nijarv avatar Feb 26 '23 04:02 nijarv

Any solution? Hi @nijarv, Refer this example: https://github.com/hoaphantn7604/react-native-element-dropdown/blob/master/example/src/dropdown/Menu.tsx Simulator Screen Shot - iPhone 14 Pro - 2023-02-26 at 13 26 34

hoaphantn7604 avatar Feb 26 '23 06:02 hoaphantn7604

okay, let me check! thank you

nijarv avatar Feb 26 '23 09:02 nijarv