Skip to content

input loses focus #42

@elijahiuu

Description

@elijahiuu

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions