react-native-floating-label-input icon indicating copy to clipboard operation
react-native-floating-label-input copied to clipboard

onPressIn not working in android

Open shellord opened this issue 3 years ago • 0 comments

OnPressIn prop works in ios but its not working in android.

<FloatingLabelInput
        label={label}
        value={value}
        onChangeText={onChangeValue}
        onPressIn={onPress}
        containerStyles={tw.style(
          'border-[1px] p-3 rounded-sm border-gray-300',
          isPressed && 'border-black',
          showError && 'border-red-500',
        )}
        editable={isEditable}
        animationDuration={100}
        onFocus={() => setIsPressed(true)}
        onBlur={() => setIsPressed(false)}
        isPassword={isPassword}
        darkTheme
      />

shellord avatar Oct 12 '22 07:10 shellord