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

while opening with ref open() for first click

Open sumitsunilrahate opened this issue 1 year ago • 1 comments

when i try to open dropdown on first click it not opening the dropdown. i am using ref.open() method to open it. Can we add solution for this in latest version Code- const categoryRef = useRef(); <TouchableOpacity onPress={() => { categoryRef?.current?.open(); }} style={styles.multipleDropdownStyle}> <MultiSelect ref={categoryRef} placeholder={'Add job categories here'} placeholderStyle={styles.placeholderStyle} data={specialityData} labelField={'name'} valueField={'name'} value={selectedJob} renderRightIcon={() => { return <Image source={search} style={styles.searchImg} />; }} onChange={val => setSelectedJob(val)} selectedStyle={styles.multiSelected} selectedTextStyle={styles.multiSelectedTxt} search={true} alwaysRenderSelectedItem={true} searchPlaceholder={'Search'}/>

sumitsunilrahate avatar Aug 28 '24 10:08 sumitsunilrahate

were u able to solve it? same is happening with me

joumanam avatar Sep 17 '24 21:09 joumanam