File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,12 @@ - (void)setVisible:(BOOL)visible {
181
181
}
182
182
self.transitionDuration = [[NSNumber alloc ] initWithDouble: 0 ];
183
183
UIViewController *rootViewController = [UIApplication sharedApplication ].delegate .window .rootViewController ;
184
+ UIView* pview = [[[[rootViewController presentedViewController ] view ] superview ] superview ];
185
+ NSString *s = NSStringFromClass ([pview class ]);
186
+ if ([s isEqualToString: @" reactnativeslackbottomsheet.PossiblyTouchesPassableUIView" ]) {
187
+ [pview performSelector: NSSelectorFromString (@" makeOldClass" )];
188
+ }
189
+
184
190
[[rootViewController presentedViewController ] dismissViewControllerAnimated: !self ->_isHiding completion: ^{
185
191
self.transitionDuration = oldTransitionDuration;
186
192
}];
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class PossiblyTouchesPassableUIView: UIView {
64
64
}
65
65
}
66
66
67
- func makeOldClass( ) {
67
+ @ objc func makeOldClass( ) {
68
68
if self . oldClass != nil {
69
69
let oldClassMem = self . oldClass!
70
70
self . oldClass = nil
You can’t perform that action at this time.
0 commit comments