Problem/Motivation

When I view a page that has a map block on it, scrolling with the mouse wheel leads to a zoom within the map.
In the "old" maps, this was avoided with the use of the Leaflet Gesture Handling library.

Proposed resolution

Include the Leaflet Gesture Handing library in the new map as well.

CommentFileSizeAuthor
#2 map_use_gesture_handling.patch1.6 KBmrshowerman

Comments

mrshowerman created an issue. See original summary.

mrshowerman’s picture

Assigned: mrshowerman » Unassigned
Status: Active » Needs review
StatusFileSize
new1.6 KB
hexabinaer’s picture

+1 from me!

This behaviour was indeed unintended. (As you see in the address paragraph default display, avoiding the mouse wheel trap was always planned.)

tobiasb’s picture

Status: Needs review » Fixed

I just add the dependency to leaflet/leaflet.gesture_handling.

  • tobiasb committed 659a4cdf on 2.1.x
    Issue #3449037: Avoid zoom on scroll in new map
    

  • tobiasb committed 5f3ead3a on 2.2.x
    Issue #3449037: Avoid zoom on scroll in new map
    
tobiasb’s picture

Category: Feature request » Bug report

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.