openstreetmap/iD

Unexpected Mouse-Wheel scroll behavior

開放

#5,550 建立於 2018年12月4日

 (16 則留言) (10 個反應) (0 位負責人)JavaScript (1,449 個分叉)github user discovery
compatibilityhelp wanted

倉庫指標

星標
 (3,818 顆星)
PR 合併指標
 (平均合併 29天 14小時) (30 天內合併 82 個 PR)

描述

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.

貢獻者指南