question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scrollwheel Zoom issue in Chrome

See original GitHub issue

I have noticed since updating to the newest leaflet version that all of my scroll wheel zooms are now jumping 2 zoom levels in chrome instead of one every time I use my scroll wheel.

The issue appears to be the result of using a default value of ‘50’ for wheelPxPerZoomLevel to control zoom speed, while using a normalized getWheelDelta function which converts your scroll wheel data to a standardized value. In Chrome my getWheelDelta function is returning 100 for a single scroll on the scroll wheel while firefox only returns 50

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:70 (29 by maintainers)

github_iconTop GitHub Comments

1reaction
perliedmancommented, Jun 7, 2017

@grid-100 we’re no longer actively maintaining 0.7, so don’t expect anyone else to do that work.

If fixes for 0.7 is important to you, please consider stepping up and putting time into doing so.

1reaction
HarelMcommented, Apr 19, 2017

Is Leaflet dying? This issue is annoying and been open for a long time now. I just switched to 1.0 and was hoping to get rid of this issue…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mouse wheel scroll causes zoom in/out in Google Chrome
It looks like the zooming issue is related to mouse scrolling freeware. I took a look at a tool I run called "WizMouse."...
Read more >
Why Can't I Scroll In Chrome When Zoomed In? - Systran Box
One of the most common causes of such behavior is that of stuck keys This method addresses the issue that CTRL keys are...
Read more >
Zooming in Google Chrome using the mouse wheel? Not ...
Zooming in Google Chrome using the mouse wheel? Not working. I know you can zoom in Google Chrome with CTRL + Mouse Scroll....
Read more >
No Mouse Wheel Zoom
Prevents Ctrl + Scroll zoom. ... Fixed passive event listener issue This extension disables the annoying zoom shortcut Ctrl + Mousewheel.
Read more >
7 Ways to Zoom In & Out In Google Chrome - Red Dot Geek
Zoom in – Press and hold the CONTROL key ( COMMAND on Mac), then turn the mouse scroll wheel up. Zoom out –...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found