mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-15 23:03:58 +08:00
Minor code improvements for RCTTextInput
Summary: Expose hasUnseenUpdates in ReactShadowNode. Various text input cleanup and fixes. Differential Revision: D2975870 fb-gh-sync-id: 26c4c0d36e82aaa025b4760603cc48c47ebf46a3 shipit-source-id: 26c4c0d36e82aaa025b4760603cc48c47ebf46a3
This commit is contained in:
committed by
Facebook Github Bot 4
parent
f130a365e6
commit
9be1216c7f
@@ -105,6 +105,10 @@ public class ReactShadowNode extends CSSNode {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean hasUnseenUpdates() {
|
||||
return mNodeUpdated;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void dirty() {
|
||||
if (!isVirtual()) {
|
||||
|
||||
Reference in New Issue
Block a user