Open m4rky-m4rk opened 4 years ago
Can you post the WebView definition in your sitemap?
Text label="Temperature charts" icon="line" {
Webview label="Temperature charts" icon="line" url="http://openhab:3000/d/xxxxxx/temperatures?orgId=1&refresh=5m" height=150 // height set for mobile use
}
I think the issue is that the scrolling is consumed by the list view and not passed to the webview. We tried to make the height of webviews auto-adjust, but that didn't work well. One thing we could do is: If there is only one element on a page, handle it differently, i.e. charts and webviews full height. For charts it should be quite easy to use the full screen mode, that has been added recently. Auto refresh and voice command menu entry need to be implemented, though. For webviews we can reuse WebViewFragemt. @maniac103 WDYT?
When a Google Map view is implemented on a website, you can scroll the website with one finger (as usual) and the map view with two fingers. This might be a good fix in our case as well.
openHAB 2.5.2 Galaxy Note 10+ Android version 10
I have problems scrolling within Grafana charts when using the app on my phone but not when using a browser to view either Grafana direct or via the via sitemap and basicUI.
I have seen the problem in several places. For both large chart legends and for the pull down menu for setting the time ranges. I cannot drag the lists to reveal the all the items when using the app. When viewing charts directly via Grafana a small side bar appears when dragging the lists that does not appear for BasicUI but for both the list does move up a or down when dragged. For the app no sidebar appears and lists cannot be dragged to show the hidden items