Skip to content

v-model on mobile not updating until a space is pressed #34

@c0rnonthec0bb

Description

@c0rnonthec0bb

Due to this issue with Vue, on some mobile browsers the v-model binding doesn't update until the user types a space.

The fix is very easy, replace v-model="val" with :value="val" @input="val = $event.target.value" in TextareaAutosize.vue. (Yes, this should be exactly what v-model does, but for whatever reason, due to the referenced issue above, it doesn't.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions