Skip to content
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

Image will be cropped/obscured within columns #46

Open
SmsHH opened this issue Feb 19, 2020 · 1 comment
Open

Image will be cropped/obscured within columns #46

SmsHH opened this issue Feb 19, 2020 · 1 comment

Comments

@SmsHH
Copy link

SmsHH commented Feb 19, 2020

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.

@daniberv
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants