react-native-dropdown-picker
react-native-dropdown-picker copied to clipboard
Trying to remove a view index above child count 2 view tag:997
<DropDownPicker zIndex={999} loading={isLoading} placeholder="Select your apartment" open={showApartmentDropdown} setOpen={setShowApartmentDropdown} items={apartmentItems} setItems={setApartmentItems} value={selectedApartment} setValue={setApartment} onChangeValue={handleApartmentChange} listMode="SCROLLVIEW" style={DropdownStyles} placeholderStyle={DropdownPlaceholderStyles} labelStyle={{...Utils.fontFamily('DMSans-Regular')}} searchable disableLocalSearch addCustomItem searchPlaceholder="Search here" onChangeSearchText={handleAreaSearchTextChange} dropDownContainerStyle={DropdownStyles} searchContainerStyle={DropdownStyles} searchTextInputStyle={DropdownStyles} ListEmptyComponent={({ listMessageContainerStyle, ActivityIndicatorComponent, loading, }) => ( <View style={listMessageContainerStyle}> {loading ? ( <ActivityIndicatorComponent /> ) : ( <> <Pressable style={Utils.my(8)} onPress={toggleApartmentInput}> <TextView color={colorSecondary} fontSize={16} fontWeight={500}> Add New </TextView> </Pressable> </> )} </View> )} />
Having same issue on android @hossein-zare as this during search , for both custom search functionality as well as the library's implementation. If you have used LayoutAnimations in this library , please provide some path fix for it . becuase on android it doesn't work