Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panel_iframe not scrollable on iOS #10772

Closed
Phontana opened this issue Nov 24, 2017 · 4 comments
Closed

panel_iframe not scrollable on iOS #10772

Phontana opened this issue Nov 24, 2017 · 4 comments

Comments

@Phontana
Copy link

Home Assistant release (hass --version):
0.57.3 (Hass.io)

Component/platform:
panel_iframe

Description of problem:
Grafana dashboard isn’t scrollable inside panel_iframe (but every other page isn't scrollable either).

Expected:
Pages are scrollable.

Problem-relevant configuration.yaml entries and steps to reproduce:

panel_iframe:
  energy_monitor:
    title: 'Energy Monitor'
    url: 'http://192.168.1.10:3000/dashboard/db/energy-monitor'
  1. Open Home Assistant on an iOS device
  2. Navigate to the panel
  3. The panel is not scrollable

Additional info:
This seems an iOS issue, described here for example: https://stackoverflow.com/questions/26046373/iframe-scrolling-ios-8.

@cederlof
Copy link

I have the same problem. I tried to wrap the iframe in a div and applied the styles from the stackoverflow-answers to it:

{ overflow: auto; -webkit-overflow-scrolling: touch; }

Scrolling works momentarily but then I get a really weird behaviour on iOS where the iframe content disappears. Needs more investigation.

@Ernst79
Copy link
Contributor

Ernst79 commented Dec 5, 2017

Having the same issue, in 59.1

@Spiff1
Copy link

Spiff1 commented Dec 25, 2017

Same issue on 0.60

@cgarwood
Copy link
Member

cgarwood commented Jan 3, 2018

I reported this in the frontend repo: home-assistant/frontend#779
So this issue can be closed out of the main repo

@home-assistant home-assistant locked and limited conversation to collaborators May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants