home-assistant / home-assistant/iOS

iPad FloorPlan default dashboard loads at wrong size until device rotation

Open
#4,504 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
2.4k
Forks
520
Avg merge
7h 27m
Merged PRs (30d)
264

Description

**iOS device model, version and app version**
Model Name: iPad Pro (12.9-inch) (5th generation)
Software Version: iPadOS 26.4 (and earlier versions for at least a year)
App version: 2026.2.1 (2026.1766)

**Home Assistant Core Version**
2026.4.1 (and earlier versions for at least a year)

**Describe the bug**
On iPad, the Home Assistant iOS app loads the default dashboard at the wrong size/layout on startup when the default dashboard is a FloorPlan. Rotating the iPad immediately corrects it.

This does not appear in Safari on iPadOS.

**To Reproduce**
1. Set the default dashboard to a FloorPlan dashboard.
2. Launch the Home Assistant iOS app on an iPad.
3. Let the default dashboard load.
4. Observe the incorrect sizing/layout.
5. Rotate the iPad.
6. Observe that the FloorPlan immediately resizes correctly.

**Expected behavior**
A FloorPlan dashboard should load at the correct size/layout on first launch, without needing rotation.

**Screenshots**
Please see attached partially redacted screenshot

Image

.

**Additional context**
This appears specific to FloorPlan being used as the default dashboard.
This looks like an iOS app startup/layout issue rather than a FloorPlan config issue.
Likely area: `WebViewController`, especially the timing of the initial `loadActiveURLIfNeeded()` versus final view sizing on iPad.
There is already a rotation workaround in `viewWillTransition`, which may explain why rotating fixes it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.