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

The animation are not smooth #7

Closed
jerryc127 opened this issue Jun 27, 2021 · 6 comments
Closed

The animation are not smooth #7

jerryc127 opened this issue Jun 27, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@jerryc127
Copy link

Trying to use new fancybox, i found the animation are not smooth

fancybox 3
TEST

fanvybox 4
TEST2

it seem like you are remove the hash option, can you bring it back? i want to set it to false, because it will cause the website reload when use in pjax

@amkdev
Copy link

amkdev commented Jun 27, 2021

I can confirm this on my tries - but only on Chrome/Safari ... Firefox is smooth.

But I'm using a lot of scripts and huge responsive images in my site.

@fancyapps fancyapps added the bug Something isn't working label Jun 30, 2021
@fancyapps
Copy link
Owner

Hi,

Thanks for the report, I'll make changes to improve the performance.

@fancyapps
Copy link
Owner

The first beta was released today and contains lot of changed. Could you, please, upgrade and check how it works for you?

@jerryc127
Copy link
Author

Still not smooth

fancybox 3
https://butterfly.js.org/Gallery/ohmygirl

fancybox 4
https://test.immyw.com/Gallery/ohmygirl

you can find it, fancybox 4 too terrible

@fancyapps
Copy link
Owner

The reason is that you have this global CSS rule:

img {
    max-width: 100%;
    transition: all 0.2s;
}

Please, remove them, or use more specific selector.

@jerryc127
Copy link
Author

 max-width: 100%;
    transition: all 0.2s;

it solved, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants