mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 09:31:11 +08: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:
@@ -233,7 +233,7 @@ import com.facebook.react.uimanager.events.EventDispatcher;
|
||||
float clipBottom) {
|
||||
boolean hasUpdates = node.hasNewLayout();
|
||||
|
||||
boolean expectingUpdate = hasUpdates || node.isUpdated() ||
|
||||
boolean expectingUpdate = hasUpdates || node.isUpdated() || node.hasUnseenUpdates() ||
|
||||
node.clipBoundsChanged(clipLeft, clipTop, clipRight, clipBottom);
|
||||
if (SKIP_UP_TO_DATE_NODES && !expectingUpdate) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user