Paste feature not working on TextInput (Android)
See original GitHub issueReact Native version: 0.58.6
Steps To Reproduce
- Adding TextInput with the bottom bar screen
- Copy text & try to paste in TextInput which is on screen with Bottom Tab Bar
- Paste option not showing
Device - MI A1 (9.0)
Describe what you expected to happen: Paste feature should work.
Snack, code example, or link to a repository:
<TextInput style={GLOBAL_STYLE.TextInputStyle} placeholder={‘Job Title’} onChangeText={jobTitle => this.setState({ jobTitle })} value={this.state.jobTitle} />
This is text input which on Tab Bar Screen.
“react”: “16.6.3”, “react-native”: “0.58.6”, “react-navigation”: “^3.3.2”,
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Android - Edit Text Paste option is not working on first click
I have copied one youtube url and tried to paste that youtube url in the edittext on the very first click which ...
Read more >Paste function not working | MacroDroid Forum
"Failed to paste text. Typically only EditText fields can pasted into. This field type = android.widget.EditText"
Read more >Specify the input method type - Android Developers
You should always declare the input method for your text fields by adding the android:inputType attribute to the <EditText> element. Figure 1.
Read more >Paste option not working in textinput : r/reactnative - Reddit
Paste option is not working in text input. Issue: when i copied something to clipboard and try ... Issue is in android ..working...
Read more >Element: paste event - Web APIs | MDN
It's possible to construct and dispatch a synthetic paste event, but this will not affect the document's contents. Syntax. Use the event name...
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 Free
Top 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
Can you do a minimal reproduction of this? With
TextInput
inside theBottom Tab Bar
and publish it here?If you are using
ScrollView
/FlatList
, try to add propsremoveClippedSubviews={false}
(#18926 and #9958)Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.