diff --git a/Sources/Brave/Frontend/Browser/BrowserViewController.swift b/Sources/Brave/Frontend/Browser/BrowserViewController.swift index e1966b89a46..7a65c1c8daf 100644 --- a/Sources/Brave/Frontend/Browser/BrowserViewController.swift +++ b/Sources/Brave/Frontend/Browser/BrowserViewController.swift @@ -1755,6 +1755,14 @@ public class BrowserViewController: UIViewController { navigateInTab(tab: tab) } else { updateURLBar() + // If navigation will start from NTP, tab display url will be nil until + // didCommit is called and it will cause url bar be empty in that period + // To fix this when tab display url is empty, webview url is used + if tab.url?.displayURL == nil { + if let url = webView.url, !url.isLocal, !InternalURL.isValid(url: url) { + updateToolbarCurrentURL(url.displayURL) + } + } } // Rewards reporting