mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +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:
9f5bdd7b49/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:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user