-
Notifications
You must be signed in to change notification settings - Fork 138
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
option to immediately load images if no Intersection Observer detected? #51
Comments
eh, it's not just IE11. i forgot iOS Safari doesn't have it :( oh well, might be a good option either way. |
Seems reasonable to me. I can take a stab at it when I get a sec. |
+1 for this. Safari on IOS doesn't have it |
@malchata have you had a look to this case. We're really love to have it |
Safari 12.1 finally has Intersection Observer API [1]. Thankfully, Apple is pretty aggressive at nagging/upgrading their users. Here are our metrics for Safari 12.1 adoption over the past 2 months (usa, e-commerce, home remodeling): Safari 12.1: Safari < 12.1: certainly there will always be a long tail, but at least it will be minority rather than a majority. [1] https://developer.apple.com/documentation/safari_release_notes/safari_12_1_release_notes |
Now that most browsers support intersectionObserver, its much more tempting to leave the polyfill out to avoid punishing users of supported browsers with the download size of the polyfill.
Now that most browsers support intersectionObserver, its much more tempting to leave the polyfill out to avoid punishing users of supported browsers with the download size of the polyfill.
Adds noPolyfill option to immediately load all lazy images in unsupported browsers (resolves #51)
hey @malchata ,
i don't really feel like polyfilling Intersection Observer and would prefer to just immediately load everything. is this something you could add?
thanks!
The text was updated successfully, but these errors were encountered: