Hi,
I have created a dashboard that functions properly and is responsive on both PCs and iPhones. However, I have one problem with the iPhone. Here, it is shown using the ui_template node with its default example code (added a frame).
I open the dashboard in Safari and place it on the home screen as a web app, then:
- When holding the phone in landscape orientation and opening the dashboard from the home screen, I get some white space above the dashboard like this:
(The bottom of my real dashboard actually drops down below the bottom of the screen)
- I then change the orientation of the phone to portrait, and the page responds correctly with the dashboard at the very top of the screen:
- When I again change the orientation to landscape, the dashboard remains at the top, in the way I expected already when opening it in landscape orientation.
This is on an iPhone 16 Pro Max with the latest iOS 18. A dashboard based on the original NodeRed dashboard does not behave like this.
Is there anything I can do about this?