From 2d3c56ffa3780a9280bb7ac6b998abb4ec2a0c98 Mon Sep 17 00:00:00 2001 From: Guillaume Leclerc Date: Fri, 15 Apr 2016 09:07:22 +0200 Subject: [PATCH] remove :is attribute even when component is cached (fixes #2666) --- src/directives/internal/component.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/directives/internal/component.js b/src/directives/internal/component.js index 6228daeb71e..6148ef799a5 100644 --- a/src/directives/internal/component.js +++ b/src/directives/internal/component.js @@ -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))