[macOS] Select element doesn't show popup if select element had lost focus while...
[WebKit-https.git] / Source / WebKit / WebProcess / WebCoreSupport / WebPopupMenu.cpp
index 97fe97a..d16fe85 100644 (file)
@@ -120,7 +120,8 @@ void WebPopupMenu::hide()
         return;
 
     WebProcess::singleton().parentProcessConnection()->send(Messages::WebPageProxy::HidePopupMenu(), m_page->pageID());
-    m_page->setActivePopupMenu(0);
+    m_page->setActivePopupMenu(nullptr);
+    m_popupClient->popupDidHide();
 }
 
 void WebPopupMenu::updateFromElement()