fregante / object-fit-images Public
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
Typeerror #32
Comments
|
I'm able to replicate the image disappearing on the following devices: Ipad 4 - iOS v7 - Safari Any thoughts? |
|
Yes, it's not compatible with iOS 7 I can add compatibility but you won't be able to change or read the |
|
This is now fixed, the polyfill is applied correctly but you won't be able to read the correct <img src="image.jpg">objectFitImages();
console.log(document.querySelector('img').src);
// in semi-modern browsers: http://example.com/image.jpg
// in iOS7: data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw== |

Page loads and after script runs, image disappears.
Console error - ofi.browser.js:
Typeerror: attempting to change access mechanism for an unconfigurable property
Ipad Mini 2
OS: iOS v7
Browser: Safari
The text was updated successfully, but these errors were encountered: