-
Notifications
You must be signed in to change notification settings - Fork 475
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
Not working in IE9 and below #87
Comments
Having the same problems, it's not working... |
Same here with 2.0.1 |
I solved it using the 1.x version of this plugin, apparently the problem affects only 2.x versions. |
Do you have to do any more than add |
Yes you have to initialize it in your HTML (this is only gonna be execute it in IE) I added prefixes for old webkit based browsers like safari in iPad 2 for example, I used this routine in gulp to do two things, add the prefixes for old webkit based browsers (autoprefixer()), and the postcss-flexibility to make this plugin work in IE. gulp.task('autoprefixer', function () {
}); |
What do you mean by initialize?
I don't have to execute it in my main.js or something? |
You're just loading the plugin, you have to call the function passing an object as a parameter, in this case I'm passing document.body. flexibility(document.body); You can call it from your main.js, but you'll have some errors in Safari on iPad 2 for example. That's why i suggested call from the bottom of your document validating if it's internet explorer. |
Ah thank you. When i follow your instruction i get this error in IE9: SCRIPT5002: Function expected |
I have the same error. @moesphemie How did you fix this? |
@katiasmet unfortunately i couldn't get this to work. Instead i used the good old floats in combination with matchHeight in order to get the same height for all my divs. |
lib 2.0.1
right display: but in IE9 display:
|
Thanks for this info yale8848, I feel a bit closer than before, but now i'm getting this basic JS error from the flexibility.js: SCRIPT5009: 'module' is undefined as its minified it's hard to see what it's complaining about specifically.... |
Hi,
Ive tried to get this working in IE9 and no luck whatsoever.
Ive placed the prefixes in, and no luck. Can someone please explain what im doing wrong.
http://codepen.io/rusticblonde/pen/xgJRdj
Thanks
Kirsty
The text was updated successfully, but these errors were encountered: