Skip to content

Commit

Permalink
remove :is attribute even when component is cached (fixes #2666) (#2672)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeLeclerc authored and yyx990803 committed Apr 15, 2016
1 parent 493aef0 commit e3057f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/directives/internal/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default {
// cached, when the component is used elsewhere this attribute
// will remain at link time.
this.el.removeAttribute('is')
this.el.removeAttribute(':is')
// remove ref, same as above
if (this.descriptor.ref) {
this.el.removeAttribute('v-ref:' + hyphenate(this.descriptor.ref))
Expand Down

0 comments on commit e3057f2

Please sign in to comment.