[OpenLayers-Trac] [OpenLayers] #3480: Mousewheel-Zoom will scroll whole page in Firefox

OpenLayers trac-20090302 at openlayers.org
Tue Aug 30 16:51:41 EDT 2011

#3480: Mousewheel-Zoom will scroll whole page in Firefox
 Reporter:  guendhoer           |       Owner:              
     Type:  feature             |      Status:  new         
 Priority:  minor               |   Milestone:  2.11 Release
Component:  Control.Navigation  |     Version:  2.11 RC3    
 Keywords:                      |       State:              
 This issue only occurs in Firefox (testet with Firefox v6).
 It does not occur in Safari, Internet Explorer, Chrome or Opera.
 As soon as there is a visible Vector Overlay on the map it doesn't occur
 in Firefox anymore too. But as soon as only base layers are shown the
 issue will happen in Firefox.

 Reproduction steps:
 1) go to http://openlayers.org/dev/examples/example.html
 2) Adjust window height so that vertical browser scrollbars appear
 3) Move the cursor over the map, scroll down for zooming out one step ->
 whole page will scroll down; expected behavior would be: only map zooming,
 no page scroll
 4) Scroll up for zooming in again, whole page will scroll up

 As I have very high sidebars in the WebGis I am developing and implemented
 a special scroll function, this behavior breaks the expected scoll
 experience in Firefox.

Ticket URL: <http://trac.openlayers.org/ticket/3480>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer

More information about the Trac mailing list