File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
React/Fabric/Mounting/ComponentViews/ScrollView Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -133,15 +133,6 @@ - (void)dealloc
133133 [self .scrollViewDelegateSplitter removeAllDelegates ];
134134}
135135
136- - (void )layoutSubviews
137- {
138- [super layoutSubviews ];
139-
140- if (_subviewClippingEnabled) {
141- [self _remountChildren ];
142- }
143- }
144-
145136- (RCTGenericDelegateSplitter<id<UIScrollViewDelegate>> *)scrollViewDelegateSplitter
146137{
147138 return ((RCTEnhancedScrollView *)_scrollView).delegateSplitter ;
@@ -611,6 +602,11 @@ - (void)scrollToEnd:(BOOL)animated
611602
612603#pragma mark - Child views mounting
613604
605+ - (void )updateClippedSubviewsWithClipRect : (CGRect)clipRect relativeToView : (UIView *)clipView
606+ {
607+ // Do nothing. ScrollView manages its subview clipping individually in `_remountChildren`.
608+ }
609+
614610- (void )_remountChildrenIfNeeded
615611{
616612 CGPoint contentOffset = _scrollView.contentOffset ;
You can’t perform that action at this time.
0 commit comments