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.

贡献者指南