diff --git a/CefSharp.Core/Internals/ClientAdapter.cpp b/CefSharp.Core/Internals/ClientAdapter.cpp index 66fcb450a..8a8e49474 100644 --- a/CefSharp.Core/Internals/ClientAdapter.cpp +++ b/CefSharp.Core/Internals/ClientAdapter.cpp @@ -124,7 +124,11 @@ namespace CefSharp void ClientAdapter::OnAddressChange(CefRefPtr browser, CefRefPtr frame, const CefString& address) { - if (frame->IsMain()) + // If it's our toplevel browser frame then change the browser control's + // address property. + if (browser->GetIdentifier() == _cefBrowser->GetIdentifier() + && frame->IsMain() + && frame->GetParent() == nullptr) { _browserControl->SetAddress(StringUtils::ToClr(address)); }