Comments (7)
Trying to understand: shouldn't it be working on older browsers, IE10 and other previous ones?
It says that whereever Intersection Observer is not available (including polyfill), it falls back to scroll/touch/orientation change -- so I tend to think that it will work on all older, just like the earlier packages, eg github.com/tuupola/jquery_lazyload.
I am new and exploring this package for possible production usage.
from yall.js.
I understand this might be disappointing
No you're not, no worry. It's true IE10 is not to be considered too much. I asked only because one of my clients still uses is, as you said, in his intranet. But I think I can use your script anyway someway.
Thank you for your code, regards.
from yall.js.
Doubt it. I haven't tested, so I don't know for sure, but if it does work in IE10, it's entirely by accident.
from yall.js.
I am new and exploring this package for possible production usage.
Me too
from yall.js.
After investigating, it appears yall.js does not work for IE 10, mostly because it uses the dataset
feature to manage data-
attributes. I considered flipping these back to use getAttribute
, but doing so would be a non-trivial change due to the script's current architecture.
Therefore, I will not be modifying this script to work with IE10, and to be fair, I had misgivings about doing so in the first place. IE10 represents, by far, a vast minority of browsers in use (0.1% globally according to caniuse.com). There may be some corporate intranets that still need to use it, but even so, I would have to think most of these organizations have updated to IE11, which yall.js supports.
I understand this might be disappointing, but I have to draw a line. To me, that line starts at IE10 (and earlier). I didn't make this decision lightly. Fortunately, there are a high number of IE10 compatible lazy loaders out there. lazysizes is one such option that works all the way back to IE8, even.
Closing for now.
from yall.js.
So, somewhat opportunistically, the latest release of yall 2.2.1 now works in IE 10. I was able to remove use of the dataset
feature. This doesn't mean IE10 is officially supported by yall, but I can verify that basic functionality works in this release through a Windows 7/IE 10 VM.
from yall.js.
from yall.js.
Related Issues (20)
- 2.3.2 not working with IE11
- Missing files in the 3.1.5 npm install HOT 6
- yall doesn't seem to work on iOS HOT 3
- Google Page Speed still asking to defer offscreen images HOT 5
- Broken loop in yallApplyFn
- Images in slideshow not loading correctly in Safari
- Strange error in the latest 3.1.6 version HOT 2
- yall.js as a fallback for native loading="lazy" HOT 3
- 3.1.7 issue in IE11 (with polyfill) HOT 3
- Would you add extensions/libraries facilitating usage of this library? HOT 1
- Lazy loading <video> (autoplay/GIF-like behavior) HOT 1
- Picture element has its image loaded before the users scrolls to it. HOT 2
- Width / Height for <img> in test files
- how to disable on particular page
- Type error when dataset is undefined.
- Usage with Webpack & Babel, for supporting IE11 / not ES6 browsers? HOT 8
- Yall not working on modal window iframe. HOT 1
- Yall with background image css with loop
- Can't find this file ./dist/yall.mjs
- [Feature Request] Detect when video is no longer on screen and provide hook
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yall.js.