home-assistant / home-assistant/iOS
iPad FloorPlan default dashboard loads at wrong size until device rotation
- 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
.
**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
Assessment
This issue has not been assessed yet.