Closed schaeferpp closed 3 years ago
Thank you for your pr! But implementing it like this would be too strict and not configurable. I would have to think about the overall impact first. Maybe as a replace for the old and slightly bugged :visible
filter of jQuery. So for now, I would close this.
For me, jquery.lazy always loaded images even if they currently are not visible. This checks if the image is visible (i.e. display != none) before calculating if the image is in the viewport. I thought you might find this helpful.