nuxt · GitHub

Commit 1752f21

J-Michalekbenjamincanac

authored and

committed

fix(FileUpload): stuck focus while tabbing (#5128)

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/runtime/components

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -329,7 +329,7 @@ defineExpose({

329329

:class="ui.base({ class: props.ui?.base })"

330330

:tabindex="interactive && !disabled ? 0 : -1"

331331

@click="interactive && !disabled && open()"

332-

@keydown.prevent

332+

@keydown.space.prevent

333333

@keyup.enter.space="interactive && !disabled && open()"

334334

>

335335

<ReuseFilesTemplate v-if="position === 'inside'" />

0 commit comments

Comments

 (0)

Read the original on github.com ↗