Skip to content

Commit e3057f2

Browse files
GuillaumeLeclercyyx990803
authored andcommitted
remove :is attribute even when component is cached (fixes #2666) (#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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy