diff --git a/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp b/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp
index 285aef278e..d21a107ff1 100644
--- a/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp
+++ b/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp
@@ -164,7 +164,7 @@ void BrowsingContext::scroll_to_anchor(String const& fragment)
}
}
- active_document()->update_layout();
+ active_document()->force_layout();
if (!element || !element->layout_node())
return;