Closed
Description
Vue.js version
2.2.1
Reproduction Link
https://jsfiddle.net/xujiongbo/jj7vatms/3/
Steps to reproduce
Open the link, click Pic1 delegate
. (sorry about that the demo is a little complicated)
What is Expected?
As the document says, all event listeners are automatically removed when vm is destroyed. Image load event should not been triggered after component Pic1 is destroyed and the click event on the outermost element of Pic1 should have been removed.What is actually happening?
The image load event was triggered after component Pic1 is destroyed and the click event on the outermost element of Pic1 haven't been removed.
Is this a bug ? or I misread the document ?
Metadata
Metadata
Assignees
Labels
No labels