Skip to content
This repository was archived by the owner on Nov 23, 2020. It is now read-only.

Commit 34e2488

Browse files
authored
Dismiss popover only on UI orientation changed
1 parent c9d79f8 commit 34e2488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNPopoverHostView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ - (instancetype _Nonnull)initWithBridge:(RCTBridge *_Nullable)bridge {
6969
[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
7070
[[NSNotificationCenter defaultCenter]
7171
addObserver:self selector:@selector(orientationChanged:)
72-
name:UIDeviceOrientationDidChangeNotification
72+
name:UIApplicationDidChangeStatusBarOrientationNotification
7373
object:[UIDevice currentDevice]];
7474
}
7575
return self;

0 commit comments

Comments
 (0)