sparanoid/lightense-images

Image will be cropped/obscured within columns

SmsHH opened this issue · 1 comments

SmsHH commented

When images placed within columns like

-webkit-columns: 2;
-moz-columns: 2;
columns: 2;

zoomed images will be cropped/obscured in Chrome. Firefox is fine with it.

In lightense.js 272 just add translateZ(1px)
The final version will be

setTimeout(function () {
      config.target.style.transform = 'scale(' + config.scaleFactor + ') translateZ(1px)';
    }, 20); // Apply animation to outer wrapper