Newline added in multiline, blurOnSubmit TextInput on press 'Enter' AFTER pasting #15205
Labels
Bug
Component: TextInput
Related to the TextInput component.
Good first issue
Interested in collaborating? Take a stab at fixing one of these issues.
Platform: iOS
iOS applications.
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Is this a bug report?
Yes, yes it is.
Have you read the Bugs section of the How to Contribute guide?
Yes
Environment
react-native -v
:react-native-cli: 2.0.1 react-native: 0.46.1
node -v
:v7.8.0
npm -v
:4.6.1
Target Platform: iOS
Development Operating System: macOS X El Capitan (10.11.6)
Build tools: Expo
Steps to Reproduce
TextInput
withmultiline
andblurOnSubmit
setExpected Behavior
A newline should not be inserted on Enter/Return press when
blurOnSubmit
istrue
, evenafter pasting.
Actual Behavior
A newline was inserted.
Reproducible Demo
https://snack.expo.io/SJte7YSL-
The text was updated successfully, but these errors were encountered: