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

object-fit polyfill not working in IE 11 #401

Closed
hatsumatsu opened this issue Jun 15, 2017 · 1 comment
Closed

object-fit polyfill not working in IE 11 #401

hatsumatsu opened this issue Jun 15, 2017 · 1 comment

Comments

@hatsumatsu
Copy link

Seems like the object-fit plugin demo provided readme ( https://jsfiddle.net/trixta/x2p17f31/ ) is not working in IE 11. Images are stretched, did anything changed in the markup?

@aFarkas
Copy link
Owner

aFarkas commented Jun 15, 2017

Thx for your bug report. This demo issue was produced by our new module pattern for plugins (introduced by 4.0.0-rc1). In reality it is very unlikely to happen. (i.e.: it does not happen if you use ES6 or CommonJS modules and it also does not happen if you manually concat/include the object-fit plugin after the lazySizes core script.)

In general I expect everybody uses build systems now. I also fixed it in version 4.0.0-rc3.

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