From 7f222b28e82e5d8355883dcc2dee34aaa492409a Mon Sep 17 00:00:00 2001 From: Amal Mathew Date: Tue, 19 Sep 2023 16:40:25 +0530 Subject: [PATCH] Fix: q-item in QMenu cannot be selected using the space key (#16107) --- ui/src/components/item/QItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/item/QItem.js b/ui/src/components/item/QItem.js index 520963cf901..02467f65e71 100644 --- a/ui/src/components/item/QItem.js +++ b/ui/src/components/item/QItem.js @@ -106,7 +106,7 @@ export default createComponent({ } function onKeyup (e) { - if (isClickable.value === true && isKeyCode(e, 13) === true) { + if (isClickable.value === true && (isKeyCode(e, 13) === true || isKeyCode(e, 32) === true)) { stopAndPrevent(e) // for ripple