openstreetmap/iD

Unexpected Mouse-Wheel scroll behavior

Open

#5,550 opened on Dec 4, 2018

 (16 comments) (10 reactions) (0 assignees)JavaScript (1,449 forks)github user discovery
compatibilityhelp wanted

Repository metrics

Stars
 (3,818 stars)
PR merge metrics
 (Avg merge 29d 14h) (82 merged PRs in 30d)

Description

System

Running Chrome 70.0 & Safari 12.0.1 on Mojave 10.14

Actual Behavior

When using the mouse-wheel scroll, the map pans rather than zoom. Zooming is activated when holding ctrl or alt/option then scrolling with the wheel. The behavior on the trackpad works how I believe it's supposed to work (2 finger vertical movement will pan).

Expected Behavior

When using a mouse, scrolling the wheel should zoom the map rather than pan.

Contributor guide