From 89f5966a04e0f19abe5140cf72d928b66c399d05 Mon Sep 17 00:00:00 2001 From: JannisX11 Date: Thu, 19 Oct 2023 20:38:43 +0200 Subject: [PATCH] Fix issues with using nested menus on touch screens --- js/interface/menu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/interface/menu.js b/js/interface/menu.js index 34e4ec8fc..279e3b798 100644 --- a/js/interface/menu.js +++ b/js/interface/menu.js @@ -62,6 +62,7 @@ class Menu { this.onClose = this.options.onClose; } hover(node, event, expand) { + if (node.classList.contains('focused')) return; if (event) event.stopPropagation() $(open_menu.node).find('li.focused').removeClass('focused') $(open_menu.node).find('li.opened').removeClass('opened')