Let Element Call manage the safe areas within the web view. (#5573)

* Let Element Call manage the safe areas within the web view.

* Update Element Call to 0.19.3.
This commit is contained in:
Doug
2026-05-11 18:04:00 +01:00
committed by GitHub
parent e235e3ba81
commit 008975c7b0
4 changed files with 9 additions and 6 deletions
@@ -36,7 +36,7 @@ struct CallScreen: View {
CallView(url: context.viewState.url, viewModelContext: context)
// This URL is stable, forces view reloads if this representable is ever reused for another url
.id(context.viewState.url)
.ignoresSafeArea(edges: .bottom)
.ignoresSafeArea()
}
}
@@ -121,6 +121,7 @@ private struct CallView: UIViewRepresentable {
webView.uiDelegate = self
webView.navigationDelegate = self
webView.isInspectable = true
webView.scrollView.contentInsetAdjustmentBehavior = .never // Let Element Call manage the safe areas within the web view.
webView.customUserAgent = UserAgentBuilder.makeASCIIUserAgent()