Skip to content

Fix empty space on top of MainUI#3959

Merged
mueller-ma merged 1 commit intoopenhab:mainfrom
maniac103:webview-insets-fix
Jan 28, 2026
Merged

Fix empty space on top of MainUI#3959
mueller-ma merged 1 commit intoopenhab:mainfrom
maniac103:webview-insets-fix

Conversation

@maniac103
Copy link
Copy Markdown
Contributor

WebView passes window insets to web pages now, and F7 respects those insets. Since we already handle the insets inside the activity, make sure not to pass them into the web view.

Fixes #3958

WebView passes window insets to web pages now, and F7 respects those
insets. Since we already handle the insets inside the activity, make
sure not to pass them into the web view.

Fixes openhab#3958

Signed-off-by: Danny Baumann <[email protected]>
@maniac103
Copy link
Copy Markdown
Contributor Author

Diff looks larger than it actually is due to wrapping the WebChromeClient into the webView?.apply { block as well. git show -w reveals the actual change.

@mueller-ma mueller-ma merged commit 61e81ec into openhab:main Jan 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

extra margin at top on Main UI on Android 16 (Pixel 6a)

3 participants