@@ -58,6 +58,7 @@ - (void)layoutNavigationBar
5858 // TODO: It is possible, that this needs to be called only on old architecture.
5959 // Make sure that Test432 keeps working.
6060 [toLayoutView setNeedsLayout ];
61+ // [self setNeedsLayout];
6162
6263 // TODO: Determine why this must be called & deferring layout to next "update cycle"
6364 // is not sufficient. See Test2552 and Test432. (Talking Paper here).
@@ -106,6 +107,7 @@ - (void)updateProps:(react::Props::Shared const &)props oldProps:(react::Props::
106107}
107108
108109RNS_IGNORE_SUPER_CALL_BEGIN
110+
109111// System layouts the subviews.
110112- (void )updateLayoutMetrics : (const react::LayoutMetrics &)layoutMetrics
111113 oldLayoutMetrics : (const react::LayoutMetrics &)oldLayoutMetrics
@@ -122,12 +124,26 @@ - (void)updateLayoutMetrics:(const react::LayoutMetrics &)layoutMetrics
122124 NSStringFromCGRect (frame),
123125 self);
124126 } else {
127+ NSLog (@" Subview [%ld ] updateLayoutMetrics %@ " , self.tag, NSStringFromCGRect(CGRect{CGPointZero, frame.size }));
125128 self.bounds = CGRect{CGPointZero, frame.size };
126129 [self layoutNavigationBar ];
127130 }
128131}
132+
129133RNS_IGNORE_SUPER_CALL_BEGIN
130134
135+ - (void )setFrame : (CGRect)frame
136+ {
137+ NSLog (@" Subview [%ld ] setFrame %@ " , self.tag, NSStringFromCGRect(frame));
138+ [super setFrame: frame];
139+ }
140+
141+ - (void )setBounds : (CGRect)bounds
142+ {
143+ NSLog (@" Subview [%ld ] setBounds %@ " , self.tag, NSStringFromCGRect(bounds));
144+ [super setBounds: bounds];
145+ }
146+
131147+ (BOOL )shouldBeRecycled
132148{
133149 return NO ;
0 commit comments