floating-vue
floating-vue copied to clipboard
Can I disableAutoFocus or autoFocus=false
Is it possible to disable tooltip auto focusing? I can't find anything regarding this in the documentation - maybe there is some custom event handling i don't understand.
Im using tooltip with an input - and when an error occurs it steals the focus, while typing.
example:
<v-tooltip
:autoHide="true"
:open="hasError"
:shown="hasError"
>
<div>
<input type="number" id="quantity" name="quantity">
</div>
<template #popper>
<p>
Input is wrong
</p>
</template>
</v-tooltip>
e.g like
disableAutoFocus
or
autoFocus=false
Dublicated https://github.com/Akryum/floating-vue/issues/872