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

Images often flash on Safari, especially on iOS Safari #170

Open
jay4q opened this issue Apr 2, 2021 · 2 comments
Open

Images often flash on Safari, especially on iOS Safari #170

jay4q opened this issue Apr 2, 2021 · 2 comments

Comments

@jay4q
Copy link

jay4q commented Apr 2, 2021

Bug description

Images often flash on Safari, especially on iOS Safari

How to reproduce

reproduce here

and my blog (which also use medium-zoom)

screen-shot

Expected behavior

expect images to be zoomed smoothly on Safari

@francoischalifour
Copy link
Owner

The image in question is very big (4000x2667px), which is likely why the transition is not smooth on mobile.

You can use the srcset attribute on your images so that the browser pick the right resolution based on the screen.

@jay4q
Copy link
Author

jay4q commented Apr 7, 2021

@francoischalifour it's pretty smooth on android mobile, only went wrong on Safari on iPhone or Mac

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