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

Browser normalization for scroll zoom #560

Open
tonybob-tl opened this issue Apr 21, 2021 · 6 comments
Open

Browser normalization for scroll zoom #560

tonybob-tl opened this issue Apr 21, 2021 · 6 comments
Labels

Comments

@tonybob-tl
Copy link

Your plugin works great. However, the step property does not normalize to the variances between browsers. Chrome and Firefox step large while others step small. See stackoverflow issue and github issue

@timmywil
Copy link
Owner

Thanks for opening an issue. But those issues are pretty old and a lot has change since then. For instance, Opera and Edge are now Blink browsers and work the same as Chrome. This makes me wonder if any of those solutions still work. I also wonder if this is really an issue anymore. For instance, I don't really see a difference between Firefox, Safari, and Chrome in the mousewheel example on the demo page.

That said, it would be very helpful if you could provide a small test showing different deltas across browsers on the wheel event. I could then use that in Panzoom tests and work off of the old facebook solution to normalize deltas, but this issue needs a test case to go further. Thanks.

@timmywil timmywil added the needs info This issue needs more info, probably a test case, to continue. It will be reopened if valid. label Apr 21, 2021
@tonybob-tl
Copy link
Author

tonybob-tl commented Apr 21, 2021 via email

@timmywil timmywil added bug and removed needs info This issue needs more info, probably a test case, to continue. It will be reopened if valid. labels Apr 21, 2021
@timmywil
Copy link
Owner

Okay thanks. That should be enough to go on. I'll have a look at the deltas on Windows when I get a chance.

@timmywil timmywil reopened this Apr 21, 2021
@tonybob-tl
Copy link
Author

tonybob-tl commented Apr 21, 2021 via email

@timmywil
Copy link
Owner

Interesting. I suppose it could have something to do with the underlying Blink version. Hopefully the browsers will align as time goes on.

@trusktr
Copy link

trusktr commented Mar 22, 2024

There are too many inconsistencies with delta values across browsers, even today. Related web spec issue:

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

No branches or pull requests

3 participants