question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Impossible to scroll content in Webview

See original GitHub issue

Actual behaviour

When the Webview displays a page with content exceeding the initial viewport (and requiring scrolling), it is not possible to scroll. In certain occasions it is possible to scroll a couple of lines, but not much more.
As a result, it is impossible to see the full page content.

Note: I tested it only from internal lan, and not using proxies, vpn, or myopenhab.org.
I believe the behavior should be about the same, since it is essentially about scrollbars.

Expected behaviour

On BasicUI, the same Webview will correctly scroll, allowing to see the full page content.

Steps to reproduce

Create a webview. The actual page should not fit into it.

sitemap global label="bug"
{
    Webview url="http://giallozafferano.it" height=20
}

The app will show only a part of the page, while in basic UI you can see the full content.

Note: it is important to set the height parameter, otherwise the app will simply display the entire content.

Environment data

Client

  • Android version: Reproduced on a tablet with android 5.0 and a phone with android 8.0
  • Device model: Medion lifetab 8.9, Sony Xperia XZ compact
  • Stock or customized ROM: Stock ROM, in both cases
  • App version: 2.2.0
  • Build flavor: Full
  • Device language: English

Server

  • Server version: 2.3
  • Reverse Proxy: N/A
  • Authentication method: None

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mueller-macommented, Aug 19, 2018

I created https://github.com/eclipse/smarthome/issues/6077. IMO the basic UI should auto adjust the height if no height attribute is set.

0reactions
mueller-macommented, Nov 1, 2018

The change in the Android app is that the webview now won’t be larged than the actuall website content. You need to set a higher hight value for the webview.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable scrolling in webview? - android - Stack Overflow
If you put a WebView in a ScrollView, set the android:isScrollContainer attribute of the WebView to "false" rather than setting android: ...
Read more >
Web View Scrolling - Get Help - Adalo - Forum
Is it possible to make the webview not scroll? I don't see scroll bars but I can drag the contents up and down...
Read more >
Disable webview scrolling - Question - AppGyver forums
The only problem is that the webview player is scrollable. So I would like to deactivate the scroll so that the element (my...
Read more >
[UWP]Issue with Scrollbar & Height of WebView - MSDN
>>” The Problem is that i want web view should change its Height according to its content height and its scroll should be...
Read more >
flutter_inappwebview 5.0.5+3 | Flutter Package - Pub.dev
A Flutter plugin that allows you to add an inline webview, ... pageDown({required bool bottom}) : Scrolls the contents of this WebView down...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found