 
     private func setupWebView() {
         view.addSubview(webView)
+        view.backgroundColor = webView.scrollView.backgroundColor
+
         webView.uiDelegate = self
         webView.navigationDelegate = self
-        webView.anchor.edges.equalToSuperview()
+
+        webView.anchor.horizontally.equalToSuperview()
+        webView.anchor.top.equalToSuperviewSafeArea()
+        webViewBottom = prefersTabBarHidden
+            ? webView.anchor.bottom.equalToSuperview()
+            : webView.anchor.bottom.equalToSuperviewSafeArea()
     }
 
     private func setupToolbar() {


    private func updateContentInset() {
        let bottomInset = isToolbarHidden ? 0 : WebViewToolbar.height
        webView.scrollView.contentInset.bottom = bottomInset
        webView.scrollView.scrollIndicatorInsets = webView.scrollView.contentInset
    }

    open override func viewSafeAreaInsetsDidChange() {

        return WKWebView(frame: .zero, configuration: configuration)
    }()

    private var webViewBottom: Anchor.YAxis.Modifier?
    private var shareFileInteractor: UIDocumentInteractionController?
    public var configuration: WKWebViewConfiguration?
    public var style: Style = .default
