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

Delay zoom out when scrolling #84

Open
KurtTrowbridge opened this issue Nov 18, 2016 · 1 comment
Open

Delay zoom out when scrolling #84

KurtTrowbridge opened this issue Nov 18, 2016 · 1 comment

Comments

@KurtTrowbridge
Copy link

Hello,

I notice that on Medium, you can scroll a bit before the image zooms back out (GIF: http://www.gfycat.com/UnequaledFixedBream). On both the site I'm using this on and the demo site, zoomed-in images minimize as soon as you scroll, which means that if I accidentally brush my scroll wheel and it moves slightly, the image minimizes. Is it possible to add a delay to the zoom-out so that you have to scroll a certain number of pixels before it zooms back out?

Thank you!

@nishanths
Copy link

nishanths commented Dec 30, 2016

Not with the current API, as far as I can tell.

A possible fix is to update the numbers 40 and 10 to a bigger numbers in your copy of the script.

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