Skip to content

@capacitor/status-bar causes scaling issues when running app on macOS #2331

@simaxme

Description

@simaxme

Bug Report

Plugin(s)

"@capacitor/status-bar": "^7.0.0"

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 7.1.0
  @capacitor/core: 7.1.0
  @capacitor/android: 7.1.0
  @capacitor/ios: 7.1.0

Installed Dependencies:

  @capacitor/android: not installed
  @capacitor/core: 7.1.0
  @capacitor/cli: 7.1.0
  @capacitor/ios: 7.1.0

[success] iOS looking great! 👌

Platform(s)

  • iOS App executed on macOS

Current Behavior

When running the app in Xcode with using the device option My Mac (Designed for iPad), the site won't scale and stay in a fixed resolution.

Image

Expected Behavior

The window should scale

Code Reproduction

https://github.com/simaxme/capacitor-macos-scaling-problem

This is a simple project with @capacitor/status-bar added.

Other Technical Details

This issue has occured with updating up to version 7.0.0 and does only occur when running the app on macOS.
I know that macOS is not "officially" supported, but if this could be fixed, it would be very nice as we have some people using our app through the mac app store.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions