diff --git a/src/fontra/client/web-components/menu-panel.js b/src/fontra/client/web-components/menu-panel.js index b7223925f..29ebfcade 100644 --- a/src/fontra/client/web-components/menu-panel.js +++ b/src/fontra/client/web-components/menu-panel.js @@ -108,7 +108,7 @@ class MenuPanel extends SimpleElement { } }, onmouseleave: (event) => itemElement.classList.remove("selected"), - onclick: (event) => { + onmouseup: (event) => { event.preventDefault(); event.stopImmediatePropagation(); if (item.enabled()) {