Skip to content

Commit e3057f2

Browse files
GuillaumeLeclercyyx990803
authored andcommitted
remove :is attribute even when component is cached (fixes vuejs#2666) (vuejs#2672)
1 parent 493aef0 commit e3057f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/directives/internal/component.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export default {
5656
// cached, when the component is used elsewhere this attribute
5757
// will remain at link time.
5858
this.el.removeAttribute('is')
59+
this.el.removeAttribute(':is')
5960
// remove ref, same as above
6061
if (this.descriptor.ref) {
6162
this.el.removeAttribute('v-ref:' + hyphenate(this.descriptor.ref))

0 commit comments

Comments
 (0)