vue-dragula icon indicating copy to clipboard operation
vue-dragula copied to clipboard

input loses focus

Open elijahiuu opened this issue 8 years ago • 0 comments

I found that when using <input>, the focus is lost on model update. On every key stroke the focus is lost and I have to click back into the input for every subsequent keystroke.

It doesn't happen on native Dragula from what I can tell.

<div class="container" v-dragula="colOne" bag="first-bag">
     <div v-for="(i, text) in colOne" >
        {{text}}[click me] 
        <input v-model="colOne[i]"/>
     </div>
</div>

elijahiuu avatar Oct 10 '17 20:10 elijahiuu