mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix TextInput Spannable flags
Summary: The TextInput spannables are being set wrong by Nodes. Consequently, when you hit space after a word, anything you type is highlighted, though it shouldn't be. Differential Revision: D3507516
This commit is contained in:
@@ -169,6 +169,11 @@ public class RCTTextInput extends RCTVirtualText implements AndroidView, CSSNode
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean isEditable() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void performCollectText(SpannableStringBuilder builder) {
|
||||
if (mText != null) {
|
||||
|
||||
Reference in New Issue
Block a user