Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolling on InfoWindow inconsistent between Firefox and Chrome #328

Open
GoogleCodeExporter opened this issue Aug 24, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 2 Oct 2014 at 7:10

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 17 Jun 2015 at 7:05

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 19 Jun 2015 at 4:11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant