Skip to content

Commit

Permalink
fix(NavigationDrawer): remove unncessary search input selection
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi committed Jun 10, 2024
1 parent 8d8e8d0 commit 24b4172
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/forms/auto-complete/RuiAutoComplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,9 @@ watch(anyFocused, (focused) => {
function onInputFocused() {
set(isOpen, true);
set(focusedValueIndex, -1);
get(textInput)?.select();
if (get(shouldApplyValueAsSearch))
get(textInput)?.select();
set(justOpened, true);
}
Expand Down

0 comments on commit 24b4172

Please sign in to comment.