react-native-screens icon indicating copy to clipboard operation
react-native-screens copied to clipboard

Unable to access copy/paste in TextInput [Android]

Open tombarton opened this issue 7 years ago • 4 comments

Copy/paste appears to be breaking in Android when react-native-screens is used with react-navigation 4.0.10. I've replicated the issue using React Navigation's "Get Started" example in both Expo snack and a standalone repo.

Versions:

"react": "16.8.3",
"react-native": "0.60.5",
"react-native-gesture-handler": "1.3.0",
"react-native-screens": "^2.0.0-alpha.7",
"react-navigation": "4.0.10",
"react-navigation-stack": "1.9.3"

Replicable repo:

Expo Snack: https://snack.expo.io/@tombarton/react-native-screens-copy-paste-android GitHub Repo: https://github.com/tombarton/react-native-screens-copy-paste

tombarton avatar Nov 01 '19 10:11 tombarton

yes. this also breaks Android auto-fill for TextInputs that contain autoCompleteTypes like :

            <TextInput
              placeholder={'Username'}
              autoCompleteType={'email'}
            />
            <TextInput
              placeholder={'Password'}
              autoCompleteType={'password'}
              secureTextEntry={true}
            />

ovy9086 avatar Dec 19 '19 15:12 ovy9086

can somebody point us in the right direction here ? what can possibly cause this ? @kmagiera , willing to help , but not really sure where to start.

ovy9086 avatar Dec 23 '19 12:12 ovy9086

I think that this is the same issue as this one: https://github.com/kmagiera/react-native-screens/issues/205

compojoom avatar Jan 31 '20 09:01 compojoom

Thanks for pointing this out @compojoom. I'm closing this as a duplicate and lets track this issue on #205

kmagiera avatar Feb 05 '20 09:02 kmagiera