Skip to content

.once modifier for v-on except for the last one doesn't work if more than one .once modifier used for v-on in multiple elements #4655

@KingMario

Description

@KingMario

Vue.js version

2.1.8

Reproduction Link

https://jsfiddle.net/bacft9s7/

Steps to reproduce

Clicks on the element more than once.

What is Expected?

The event handler should be removed after the first click.

What is actually happening?

The event handler except for the last one with .once modifier is not removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions