onDone called even if not defined.
See original GitHub issueThe code from commit
https://github.com/rchl/vue-scrollto/commit/9925f183f9ae14ade7a9c84d142de4c0fc397665
calls ‘onDone’ even if it is not defined. That results in:
vue.runtime.esm.js:620 [Vue warn]: Error in v-on handler: "TypeError: onDone is not a function"
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
onDone event name is undefined when invoked Observable ...
Observables can be invoked, which is expected to send events (strings or objects) to the parent machine, yet not receive events (uni-directional) ...
Read more >When does onDone event work for StreamSubscription in Dart?
The onDone callback is called when the Stream is closed. You're never closing the Stream in the first example you provided, so the...
Read more >onDone method - StreamSubscription class - dart:async library
The handleDone function is called when the stream closes. The value may be null , in which case no function is called. This...
Read more >Mutations in Apollo Client - Apollo GraphQL Docs
To execute a mutation, you first call useMutation within a React ... default value is none , meaning that the mutation result includes...
Read more >Invoking Services | XState Docs
An invocation is defined in a state node's configuration with the invoke ... data: 'No query specified' } return event.data; } }) },...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @SnirShechter! I will have some time in the next few days to finally go over some of the open PR’s as well as fixing this one. Sorry for the delay - its just been really busy lately!
I’m having the same issue with this when I have
force: false
set and it doesn’t need to scroll.