diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp
index aee78234eb..e2216472cc 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp
@@ -431,9 +431,10 @@ WebIDL::ExceptionOr HTMLSelectElement::show_picker()
return {};
}
-void HTMLSelectElement::activation_behavior(DOM::Event const&)
+void HTMLSelectElement::activation_behavior(DOM::Event const& event)
{
- show_the_picker_if_applicable();
+ if (event.is_trusted())
+ show_the_picker_if_applicable();
}
void HTMLSelectElement::did_select_item(Optional const& id)