Paste option is not working on TextInput with multiline flag set to true.
Create TextInput with multiline flag.
Expected to show the paste option on long press on field.
React Native Environment Info:
System:
OS: Linux 4.15 Ubuntu 16.04.5 LTS (Xenial Xerus)
CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Memory: 132.78 MB / 7.66 GB
Shell: 4.3.48 - /bin/bash
Binaries:
Node: 8.12.0 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.57.8 => 0.57.8
npmGlobalPackages:
create-react-native-app: 2.0.2
react-native-cli: 2.0.1
Can you run react-native info and edit your issue to include these results under the Environment section?
If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.
Which devices did you try this on?
I tried on Samsung s9+.
Did you verify the paste option only fails to show up only if multiline is set to true? Does it work fine when multiline is false?
Yes, everything works fine when the multiline is not set to true for TextInput component.
I am closing this issue because it does not contain the necessary environment info, and there has been no followup in a while.
If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.
I updated environment info, please reopen the issue.
I am using Redmi 6 with android version 8.1.0 It does not allow pasting as well when multiline is set to true
For me it doesn't work even when multiline is set to false.
iOS works fine with both multiline options.
RN: 0.58.6
Device: Moto G5 Plus and iPhone 8
Same issue on Samsung Galaxy j6
I found a workaround: https://gist.github.com/ilya-uryupov/7bc9515c6d315d4919ff56ebf4e20411
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.
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.
The issue persists.
There's only a workaround.
Most helpful comment
For me it doesn't work even when multiline is set to false.
iOS works fine with both multiline options.
RN: 0.58.6
Device: Moto G5 Plus and iPhone 8