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

Multiple re-render when serach text for local data of listMode="MODAL"

Open SomnathKadam opened this issue 3 years ago • 1 comments

Hi Team,

Facing issue of Multiple re-render when serach text for local data of listMode="MODAL". All items is in local state variable.

<DropDownPicker
                    items={items}
                    open={open}
                    setOpen={setOpen}
                    value={value}
                    setValue={setValue}
                    searchable={searchable}
                    onChangeValue={updateRequestField}
                    disableBorderRadius={true}
                    placeholder={placeholder}
                    showTickIcon={true}
                    searchPlaceholder={searchPlaceholder}
                    listMode="MODAL"
                    searchContainerStyle={styles.searchContainerStyle}
                    dropDownContainerStyle={styles.dropDownContainerStyle}
                    modalProps={styles.modalProps}
                    modalContentContainerStyle={
                        styles.modalContentContainerStyle
                    }
                    closeIconStyle={styles.closeIconStyle}
                    tickIconStyle={styles.tickIconStyle}
                />

SomnathKadam avatar Jun 27 '21 11:06 SomnathKadam

hi team, can please update, or any additional info. needed?

SomnathKadam avatar Jul 05 '21 10:07 SomnathKadam