You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ryaa
changed the title
[Bug]: status bar is gone after the camera is dismissed
[Bug]: status bar is gone after the camera is dismissed (iOS only)
Feb 4, 2025
This issue has been labeled as type: bug. This label is added to issues that that have been reproduced and are being tracked in our internal issue tracker.
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.0.1
@capacitor/core: 7.0.1
@capacitor/android: 7.0.1
@capacitor/ios: 7.0.1
Installed Dependencies:
@capacitor/cli: 7.0.1
@capacitor/android: 7.0.1
@capacitor/core: 7.0.1
@capacitor/ios: 7.0.1
[success] iOS looking great! 👌
[success] Android looking great! 👌
Other API Details
Platforms Affected
Current Behavior
The status bar is gone after the camera is dismissed/canceled. I ionic header height is changed to take the status bar height - see below
The ion header when the status bar is displayed and before the camera is opened

The ion header after the status bar is gone and after the camera is dismissed/canceled

To reproduce please clone this repo https://github.com/ryaa/capacitor-status-bar-becomes-invisible-issue, build and run it. Then tap Get Photo, select picker or camera and then cancel (don't select image or take a photo). Note that the status bar is gone.
Expected Behavior
Status bar must stay the same
Project Reproduction
https://github.com/ryaa/capacitor-status-bar-becomes-invisible-issue
Additional Information
This issue was reported as an issue to
capacitor-community/file-opener
- see capacitor-community/file-opener#74 (comment)Note that in addition to the status bar being gone, there are some warnings shown in XCode console (here is another repo demonstrating the problem capacitor-community/file-opener#74 (comment))
Please note that everything works fine on Android and for the status bar v6.
The text was updated successfully, but these errors were encountered: