Ber79AtPixelario / 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 in infobubble scrolls the map instead of the content in the infobubble #259

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Demo link or sample code:
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/exampl
es/example.html

What steps will reproduce the problem?
1. move the mouse over the infobubble
2. scroll

Expected result:
The map should actually not zoom in/out . If we have a lot of content in the 
infobubble we get scrollbars -> but we cannot use the scroll as it scrolls the 
whole map instead of just the content.

Actual result:
the whole map zoomed in/out

Version: 0.8

Browser / Operating System:
Doesn't matter

Additional comments:
[Enter any additional comments about the bug here.]

*********************************************************
Tip: Star this issue (next to title) to receive notifications of status
changes against this issue, also used as a gauge for how many people are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by danielsd...@yahoo.fr on 23 May 2013 at 9:51

GoogleCodeExporter commented 8 years ago
Actually it seems to be a Firefox problem. With chrome it behaves as expected.

Original comment by danielsd...@yahoo.fr on 23 May 2013 at 10:04

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Would be great if the issue would be solved for FF. I am using infobubble in a 
production environment and my client complaint about it.

Original comment by ruu...@gmail.com on 5 Nov 2013 at 9:02

GoogleCodeExporter commented 8 years ago
It seems that it may be possible to prevent this map zooming behavior by adding 
'MozMousePixelScroll' to the 'events' list at the beginning of 
'InfoBubble.prototype.addEvents_'.

Original comment by aaron.st...@gmail.com on 11 Nov 2013 at 3:56

GoogleCodeExporter commented 8 years ago
Woooooow!!!! That seems to work!

Now the question for me is why this work and mousewheel doesn't? Accroding to 
mdn we are advised to use mousewheel, or am I not understanding something?
https://developer.mozilla.org/en-US/docs/DOM/DOM_event_reference/MozMousePixelSc
roll

Original comment by danielsd...@yahoo.fr on 11 Nov 2013 at 4:07