a3rev / a3-lazy-load

Speed up your site and enhance frontend user's visual experience in PC's, Tablets and mobile with a3 Lazy Load.
GNU General Public License v3.0
18 stars 11 forks source link

images inside flexslider dont show it until move page with mouse or keyboard #17

Open juanmafont opened 6 years ago

juanmafont commented 6 years ago

Hello, if I try activate a3-lazy-load inside a flexslider (by example <div class="flexslider") then images not showed, they are showed always lilke spinner, until I move page (up or down) with mouse or keyboard, then images are showed inmediately.

mwasil commented 4 years ago

Old post, but this solution maybe usefull for anybody facing similar problem. This should be general fix for any slider:

jQuery(".YOUR_SLIDER_NAV_ARROW_CLASS").on('click', function() {
    jQuery(document).trigger('customlazyloadxtevent')
})