We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de9d23b commit f126d55Copy full SHA for f126d55
ios/RCTMJRefreshHeader/RCTMJRefreshHeader/RCTMJScrollView.m
@@ -505,7 +505,9 @@ - (void)setClipsToBounds:(BOOL)clipsToBounds
505
- (void)dealloc
506
{
507
_scrollView.delegate = nil;
508
- [_eventDispatcher.bridge.uiManager.observerCoordinator removeObserver:self];
+ if (_maintainVisibleContentPosition != nil) {
509
+ [_eventDispatcher.bridge.uiManager.observerCoordinator removeObserver:self];
510
+ }
511
}
512
513
- (void)layoutSubviews
0 commit comments