Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.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

Closed
KingMario opened this issue Jan 5, 2017 · 0 comments
Labels

Comments

@KingMario
Copy link
Contributor

KingMario commented Jan 5, 2017

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.

@KingMario KingMario changed the title .once modifier for v-on doesn't work if more than one .once modifier used for v-on in multiple elements .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 Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants