Skip to content

Commit

Permalink
fix(QItem): item should be selectable using the space key (backport f…
Browse files Browse the repository at this point in the history
  • Loading branch information
pdanpdan committed Nov 15, 2023
1 parent 91dd29b commit 5d2b25c
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 @@ -104,7 +104,7 @@ export default Vue.extend({
},

__onKeyup (e) {
if (this.isClickable === true && isKeyCode(e, 13) === true) {
if (this.isClickable === true && isKeyCode(e, [ 13, 32 ]) === true) {
stopAndPrevent(e)

// for click trigger
Expand Down

0 comments on commit 5d2b25c

Please sign in to comment.