Vue: Duplicate attribute class in MS Edge

Created on 7 Apr 2017  ·  3Comments  ·  Source: vuejs/vue

Version

2.2.6

Reproduction link

http://codepen.io/anon/pen/WGyrdz

Steps to reproduce

Open the codepen with MS Edge devtools open

What is expected?

No warning. When you execute el.outerHTML within vuejs while the element is being mounted, you will see that the class attribute is duplicated.

What is actually happening?

A warning (duplicate attribute class)


This has been dealt with in #3929 already but it seems that MS Edge 38 is not correctly handled.

Most helpful comment

@posva ohh I am sorry for misleading you.. indeed there is a warning in Edge:

img1
img2

All 3 comments

This codepen uses Vue 2.0.2 not 2.2.6. There's no warning in latest version of Vue.

ping @Nirazul Can you try with the latest version, please?

@posva ohh I am sorry for misleading you.. indeed there is a warning in Edge:

img1
img2

Was this page helpful?
0 / 5 - 0 ratings