[macOS] Select element doesn't show popup if select element had lost focus while...
[WebKit-https.git] / Source / WebKit / UIProcess / mac / WebPopupMenuProxyMac.mm
index 684b136..e0911b8 100644 (file)
@@ -203,7 +203,7 @@ ALLOW_DEPRECATED_DECLARATIONS_END
 
 void WebPopupMenuProxyMac::hidePopupMenu()
 {
-    [m_popup dismissPopUp];
+    [[m_popup menu] cancelTracking];
 }
 
 void WebPopupMenuProxyMac::cancelTracking()