Skip to content

Commit 9c2034f

Browse files
committed
fix: Enter Key Behavior Conflict with IME in Search UI Select Box vuejs#3450
1 parent 367c603 commit 9c2034f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client/theme-default/components/VPLocalSearchBox.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,8 @@ onKeyStroke('ArrowDown', (event) => {
322322
const router = useRouter()
323323
324324
onKeyStroke('Enter', (e) => {
325+
if (e.isComposing) return
326+
325327
if (e.target instanceof HTMLButtonElement && e.target.type !== 'submit')
326328
return
327329

0 commit comments

Comments
 (0)