MichDe / wordpress-geo-mashup

Automatically exported from code.google.com/p/wordpress-geo-mashup
1 stars 0 forks source link

Prevent Firefox scrolling browser window when using scroll wheel on map #594

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open up an edit post Window in Firefox (I'm on v14)
2. Mouse over the Geo Mashup map
3. Use the scroll wheel to zoom the map
4. The page scrolls as well as the map.  

This should be a fairly simple fix, something like:

document.getElementById('map_element').addEventListener('MozMousePixelScroll', 
function(event) {event.preventDefault();}, false);

Thanks!

Original issue reported on code.google.com by j...@offexploring.com on 16 Aug 2012 at 11:52

GoogleCodeExporter commented 9 years ago
Hmm, I don't see this behavior with Geo Mashup 1.4.10 in Firefox 14.0.1 in any 
of the 3 map providers. Any idea what else might be required? I wonder if you'd 
get it in a clean WordPress and Geo Mashup install on your setup?

Original comment by dylankk...@gmail.com on 16 Aug 2012 at 1:29

GoogleCodeExporter commented 9 years ago
Hi,

It does seem to be slightly intermittent. (I'm using Google Maps API v3)

If it's not happening for you, try dragging the map around a little bit as a 
step 2.5. I've uploaded a short SWF video showing the effect - 
https://dl.dropbox.com/u/23009341/2012-08-16_1439.swf

The issue is detailed at - 
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3652 with some links 
to places detailing the fix I posted above.

Original comment by j...@offexploring.com on 16 Aug 2012 at 1:50

GoogleCodeExporter commented 9 years ago
This issue was updated by revision df4b48e591f0.

Looks like 1.6 style updates will address this issue. Looks good so far!

Original comment by dylankk...@gmail.com on 5 Apr 2013 at 6:05

GoogleCodeExporter commented 9 years ago

Original comment by dylankk...@gmail.com on 10 Jul 2013 at 3:43

GoogleCodeExporter commented 9 years ago
This is still a problem with FF 27.0.1
http://kreuzfahrt-auswahl.de/Route/9691/Trip/206432/packende-nordostpassage

Original comment by spidgo...@gmail.com on 15 Mar 2014 at 7:22