Skip to content

[Bug] iPad Capacitor App: Layout Squishing on Foregrounding #422

@hessius

Description

@hessius

Description

On iPad, the app layout breaks when moving from the background to the foreground.

Steps to Reproduce

  1. Open the app on an iPad.
  2. Move the app to the background.
  3. Bring the app back to the foreground.

Actual Behavior

The column layout becomes "squished" and thin. It incorrectly maintains a two-pane view instead of switching to a single-column view appropriate for the distorted dimensions.

Workaround

Rotating the device to a different orientation and back fixes the layout.

Proposed Fix

Implement a listener for foreground events that re-triggers the canvas painting or CSS layout calculation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions