-
-
Notifications
You must be signed in to change notification settings - Fork 891
Improve desktop/mouse scroll #1118
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
Conversation
|
Looking good! Haven't had much experience with this library on the web, but this looks nice from the .gif you added. Just wondering out loud, could the removal of the debounce cause unintended side effects? |
|
@JaffaKetchup it seems debounce effect was introduced to limit number of zoom changes on scroll. Image loading is limited anyway by I'm testing both on desktop (Mac) and web (Safari/Chrome/Opera). |
|
@kengu @johnpryan would you mind taking a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, as long as this doesn't cause unnecessary processing stress. Just waiting on maintainers to return or people to be given write access. See #1117.
EDIT: Also see my comment below.
JaffaKetchup
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With those changes, LGTM I think.
|
Thanks for the heads up @JaffaKetchup. We've decided to release our app with a fork attached (not to block release). You could test the new scroll behaviour here: Fingers crossed for write access and getting this merged. It really improves the experience on desktop and web. |
|
No problem :). Can't look at the website right now, as I'm on mobile and these changes don't affect the pinch gesture AFAIK. Hoping for merge too! |
|
@marcin-jelenski Please pull upstream when possible, then I (or another maintainer) can merge after running the checks. |
|
@JaffaKetchup done, updated with upstream. |
|
@marcin-jelenski Many thanks :) |
|
@JaffaKetchup done - formatting fixed. |
The current mouse scroll is laggy.
Let's remove debounce method and use float zoom.
Tested on a physical mouse (Logitech) and MacBook touchpad.
Also fixed #1079