Export to GitHub

google-maps-utility-library-v3 - issue #328

Scrolling on InfoWindow inconsistent between Firefox and Chrome


Posted on Oct 2, 2014 by Happy Dog

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

Comment #1

Posted on Jun 17, 2015 by Grumpy Monkey

Im facing the same issue in FF and IE,is this issue resolved?

Comment #2

Posted on Jun 19, 2015 by Grumpy Monkey

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 }); }

Status: New