Unable to paste into TextInput
See original GitHub issueI just got this library set up and running, but when testing I find I’m unable to paste into TextInputs on Android. Not calling useScreens
in my initialization fixes this issue.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Unable to paste text into Text Input control conta...
The workaround for this is to type at least one character in the target Input box. This allows the user to select something...
Read more >Unable to paste into TextInput · Issue #40 - GitHub
I just got this library set up and running, but when testing I find I'm unable to paste into TextInputs on Android.
Read more >Enable paste and selection within TextInput - React Native
I am trying to implement copy and paste within my TextInput but cant seem to achieve it. I was expecting a tooltip when...
Read more >How to paste text into input fields that block it? - Super User
Press F12 and paste the following code into the console. var allowPaste = function(e){ e.
Read more >How to Prevent Pasting into an Input - David Walsh Blog
The onpaste attribute lets us prevent pasting into the form. Adding the autocomplete attribute as well as preventing drag and drop into the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@osdnk I’m still facing this error. Everything seems to work fine on RN itself, but it stops working when react-native-screen is added.
I’ve created this reproducible repo: https://github.com/diegolmello/PasteExample
It’s a simple demo on top of latest RN version with few packages added:
The important part is that when
enableScreens()
is commented everything works: https://github.com/diegolmello/PasteExample/blob/master/App.js#L9Let me know if I can help in any way. Thank you.
@osdnk - please reopen the issue. The problem is still there on RN 0.61.3 and @diegolmello has provided a reproducible demo.