mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
AndroidTextInput: keep track of mostRecentEventCount in C++ State
Summary: Keep track of AndroidTextInput's mostRecentEventCount in C++ State. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D18672368 fbshipit-source-id: ea7a635629050a6d4957cbcef6ec0bda5faaad9a
This commit is contained in:
committed by
Facebook Github Bot
parent
309de462bd
commit
da5ea0215a
+4
-2
@@ -82,8 +82,10 @@ void AndroidTextInputShadowNode::updateStateIfNeeded() {
|
||||
return;
|
||||
}
|
||||
|
||||
setStateData(AndroidTextInputState{
|
||||
attributedString, getProps()->paragraphAttributes, textLayoutManager_});
|
||||
setStateData(AndroidTextInputState{state.mostRecentEventCount,
|
||||
attributedString,
|
||||
getProps()->paragraphAttributes,
|
||||
textLayoutManager_});
|
||||
}
|
||||
|
||||
#pragma mark - LayoutableShadowNode
|
||||
|
||||
Reference in New Issue
Block a user