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

_.debounce().cancel() is not working with Vue.js properly #9294

KunHwanAhn opened this Issue Jan 9, 2019 · 1 comment


None yet
2 participants
Copy link

KunHwanAhn commented Jan 9, 2019

What problem does this feature solve?

I wanted to use the _.debounce() on the Vue.js, and it works. Unless I called the cancel() of it.

Version Info

lodash Version

  • v4.17.x

Vue.js Version

  • v2.5.x

Example Codes

new Vue(
  methods: {
    debounced: _.debounce(function() {doSomething()}, 1000),
    foo() {
    cancelDebounced() {

Guessed Reason


I solved this issue by implementing feature with different way.
BUT, I think it is quite weird for me, that is reason why I created this issue.
I want to hear your(the commiter, organaizer etc...) opinion.
Do you think it is an issue for Vue.js?

What does the proposed API look like?

I want you to consider handling methods of Function Object. I'm not sure whether my request is right or not.


This comment has been minimized.

Copy link

Justineo commented Jan 9, 2019

This doesn't seem to be a feature request (while you chose feature request when filling forms).

If you are reporting a bug, please follow the instruction of the issue helper and provide a minimal reproduction of your problem. Thanks.

@Justineo Justineo closed this Jan 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment