nicowesse / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

Scrolling on InfoWindow inconsistent between Firefox and Chrome #328

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Demo link or sample code:
https://developers.google.com/maps/documentation/javascript/examples/infowindow-
simple

What steps will reproduce the problem?
1. Click on the shown point, hover the mouse over the shown InfoWindow, and 
scroll the mousewheel.
2. With each browser's inspection tool, add `overflow: auto` to the bodyContent 
div, and repeat the above. 

Expected result:
In the first scenario, nothing should happen. In the second, the content of the 
InfoWindow should scroll. In Chrome, this is the case.

Actual result:
In Firefox, the both cases zoom the map in or out. The content of the 
InfoWindow does not scroll in the latter case.

Browser / Operating System:
Chrome 37.0.2062.94 (64-bit) on Fedora 20
Firefox 31.0-2 on Fedora 20

Original issue reported on code.google.com by epow...@t-sciences.com on 2 Oct 2014 at 7:10

zeeshah24 commented 9 years ago

Im facing the same issue in both IE11 and Firefox 31.7, the scrolling on the info div on google map not scrolling down instead zoom out the map. I have tried after setting the overflow:auto in bodyContent, still no success.

zeeshah24 commented 9 years ago

I have done the workaround by implementing Infowindow hover event fires map options element.hover( function() { map.setOptions({ draggable: false, scrollwheel: false }); }, function() { map.setOptions({ draggable: true, scrollwheel: true }); }