Skip to content

Commit fcc8ba9

Browse files
committed
feat(enableKeyboardNavigate/lookup): keep buffer even in prefix match mode
This allow to change to buffer match if user typed a different character later.
1 parent 4f512d0 commit fcc8ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tpl/defaultTheme/frontend/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,8 @@
376376
// key changed, no more prefix match
377377
lookupKey = '';
378378
}
379-
lookupBuffer += key;
380379
}
380+
lookupBuffer += key;
381381
delayClearLookupContext();
382382
return getMatchedFocusableSibling(container, isBackward, currentLookupStartA, lookupKey || lookupBuffer);
383383
}

0 commit comments

Comments
 (0)