Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inconsistent :class binding behavior in IE9 #1946

Closed
pkawiak opened this issue Dec 1, 2015 · 1 comment
Closed

inconsistent :class binding behavior in IE9 #1946

pkawiak opened this issue Dec 1, 2015 · 1 comment

Comments

@pkawiak
Copy link

pkawiak commented Dec 1, 2015

Hello,

I am creating component using following markup as template:

<div :class="{'inner-class': true}">Stuff<div>

Then I am using this component as follows:

<my-component class="outer-class"></my-component>

I would expect to see <div class="inner-class outer-class"> as a result and it's true for modern browsers. Unfortunately on IE9 (real one, not emulated mind you) class is empty.

Live demo: http://jsfiddle.net/pkawiak/fLxbokth/

Is t a bug or am I missing something?

@crswll
Copy link

crswll commented Dec 1, 2015

Just out of curiosity what happens if you do v-bind instead of :?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants