mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fixed issue with remeasuring ReactTextShadowNode
Summary: This fixes the regression recently introduced during refactoring of text-related classes. So, added fragment of code was lost in D5715830. See how it looked before: https://github.com/facebook/react-native/blob/9f5bdd7b497427506dab753ed12017900cb5ffe7/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.java#L424-L431 Reviewed By: TheSavior Differential Revision: D5827424 fbshipit-source-id: 5df99620057ff6a27105dd05903c7f5def85c5d2
This commit is contained in:
committed by
Facebook Github Bot
parent
2259538085
commit
a17797940d
@@ -168,6 +168,13 @@ public class ReactTextShadowNode extends ReactBaseTextShadowNode {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void markUpdated() {
|
||||
super.markUpdated();
|
||||
// Telling to Yoga that the node should be remeasured on next layout pass.
|
||||
super.dirty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCollectExtraUpdates(UIViewOperationQueue uiViewOperationQueue) {
|
||||
super.onCollectExtraUpdates(uiViewOperationQueue);
|
||||
|
||||
Reference in New Issue
Block a user