openstreetmap/iD

Unexpected Mouse-Wheel scroll behavior

Aperta

#5550 aperta il 4 dic 2018

 (16 commenti) (10 reazioni) (0 assegnatari)JavaScript (1449 fork)github user discovery
compatibilityhelp wanted

Metriche repository

Star
 (3818 stelle)
Metriche merge PR
 (Merge medio 29g 14h) (82 PR mergiate in 30 g)

Descrizione

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.

Guida contributor