artmacks / 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 8 years ago

GoogleCodeExporter commented 8 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

GoogleCodeExporter commented 8 years ago
Im facing the same issue in FF and IE,is this issue resolved?

Original comment by zeesha...@gmail.com on 17 Jun 2015 at 7:05

GoogleCodeExporter commented 8 years ago
I have done the workaround by implementing hover event on Infowindow element 
which fires map options 

element.hover(
function() {
map.setOptions({ draggable: false, scrollwheel: false });
},
function() {
map.setOptions({ draggable: true, scrollwheel: true });
}

Original comment by zeesha...@gmail.com on 19 Jun 2015 at 4:11