Skip to content

Commit

Permalink
Fix: q-item in QMenu cannot be selected using the space key (quasarfr…
Browse files Browse the repository at this point in the history
  • Loading branch information
Amal Mathew committed Sep 19, 2023
1 parent abd5620 commit 7f222b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/item/QItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f222b2

Please sign in to comment.