question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Paste feature not working on TextInput (Android)

See original GitHub issue

React Native version: 0.58.6

Steps To Reproduce

  1. Adding TextInput with the bottom bar screen
  2. Copy text & try to paste in TextInput which is on screen with Bottom Tab Bar
  3. 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:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Hermanyocommented, May 26, 2019

Can you do a minimal reproduction of this? With TextInput inside the Bottom Tab Bar and publish it here?

If you are using ScrollView/FlatList, try to add props removeClippedSubviews={false}(#18926 and #9958)

0reactions
stale[bot]commented, Nov 23, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found