Skip to content

status-bar-fill attribute in <ons-page /> is not set automatically on iPads #2745

@vinnichase

Description

@vinnichase

Environment

Onsen UI Version:

  • 2.10.10

Framework:

  • React 16.13.1

Framework binding:

  • react-onsenui 1.11.2

Additional libraries:

Platform:

  • iOS 13.4.1 iPad Pro 2nd 11 inch (and all iPads I tried) on Ionic Capacitor 1.5.2

Encountered problem
status-bar-fill attribute in <ons-page /> is not set automatically on iPads. As a result toolbar is overlapped by the status bar. On iPhones with the same iOS version it works as expected.

iPad not working:
image

iPhone working:
image

Using react-onsenuis <Page> component vs. web component <ons-page /> makes no difference.

How to reproduce

  1. Create empty project with above versions of onsen and capacitor. run npx cap init.
  2. Add an index.html in www folder
  3. Add page with toolbar.
  4. Run npx cap add ios and npx cap open ios (having xcode installed)
  5. Start the project on iPhone and iPad simulators with above versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions