Skip to content

Commit 6cce021

Browse files
committed
fix: fix header height
1 parent 29c3ae2 commit 6cce021

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ios/RNSScreenStack.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ - (void)viewDidLayoutSubviews
7777
RNSScreen *screenController = (RNSScreen *)self.topViewController;
7878
BOOL isNotDismissingModal = screenController.presentedViewController == nil ||
7979
(screenController.presentedViewController != nil &&
80-
![screenController.presentedViewController isBeingDismissed]);
80+
![screenController.presentedViewController isBeingDismissed]) ||
81+
([screenController.presentedViewController isKindOfClass:[UISearchController class]]);
8182

8283
// Calculate header height during simple transition from one screen to another.
8384
// If RNSScreen includes a navigation controller of type RNSNavigationController, it should not calculate

0 commit comments

Comments
 (0)