Skip to content

Events not being prevented #97

@CHEWX

Description

@CHEWX

Hi,

I'm using vue-select, to trigger this.$copyText(), however, this method is prevent vue-select do it's thing, as if it's event.stopPropagation() or something.

If I remove the method the select closes, but if not, it stays open and doesn't complete it's event.

Currently having to hack around it so vue-select finishes it's thing before this.$copyText() fires.

<v-select v-on:input="copyLink"></v-select>
copyText() {

    ...

    setTimeout( () => {
        this.$copyText( 'some text' ).then(() => this.$nuxt.$emit('displayNotification', `Link Copied!`) )
    }, 5)
}

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