Please advice how to keep focus on textarea element after clicking specific button. For my mobile app I use Quasar vue based framework.
Tried to apply preventDefault
<q-btn @click.prevent="handleClick" label="click me" />
and stopPropagation
<q-btn @click.stop="handleClick" label="click me" />
But in any case textarea losses the focus after button click.
Codepen: https://codepen.io/olegef/pen/NWNvxJM
UPD: workaround with forced focus causes side effects on mobile like blinking embedded keyboard. That is why I'm looking for option with permanent focus.
UPD2: it works just fine if I use simple div as a button and mousedown event instead of click