-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.4.3
@capacitor/core: 7.4.3
@capacitor/android: 7.4.3
@capacitor/ios: 7.4.3
Installed Dependencies:
@capacitor/cli: 7.4.0
@capacitor/core: 7.4.2
@capacitor/ios: 7.4.2
@capacitor/android: 7.4.2
[success] iOS looking great! 👌
[success] Android looking great! 👌
Other API Details
Platforms Affected
- iOS
- Android
- Web
Current Behavior
When a Capacitor app is installed on an Apple Silicon Mac (M1/M2/M3) via the App Store as “Designed for iPad”, the app launches inside a Catalyst container window. On these Macs, resizing the window is allowed (if Requires Full Screen is unchecked), but the embedded WKWebView in CAPBridgeViewController does not resize with the window. This leaves large unused white areas instead of filling the available space.
Steps to Reproduce
- Build and publish a Capacitor iOS app to the App Store.
- On an M-series Mac, install the app as “Designed for iPad.”
- Resize the window.
- The native window changes size, but the web content stays fixed width.

Expected Behavior
The WKWebView inside CAPBridgeViewController should always expand or shrink to fill the Catalyst window when resized, just like a native view controller would.
Project Reproduction
https://github.com/ionic-team/capacitor-starters
Additional Information
No response