Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

MouseWheelTrap isnt working at all with Firefox 4.0.1 on OSX 10.6.7 #2

Open
GoogleCodeExporter opened this issue May 12, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

MouseWheelTrap isnt working at all with Firefox 4.0.1 on OSX 10.6.7

Original issue reported on code.google.com by anso...@gmail.com on 21 Jun 2011 at 2:00

@GoogleCodeExporter
Copy link
Author

Can you characterise the defect by laying out the steps to reproduce this and 
what the actual and expected behaviour was? Thanks

Original comment by spikything@gmail.com on 12 Jul 2011 at 9:35

@GoogleCodeExporter
Copy link
Author

Not working for me either:
 1) Use MouseWheelTrap via MouseWheelTrap.set(stage)
 2) It works in Chrome on Mac and Safari on Mac. 
 3) It doesn't work in Firefox on Mac (Firefox 6.0.2, OSX 10.7.2)

Doing some further testing (with custom javascript on a page with a 
non-MouseWheelTrapped SWF), the listeners set up in the javascript code work 
just fine when the mouse is over an HTML container, but not when it is over the 
SWF.

Original comment by nathan.c...@gmail.com on 3 Jan 2012 at 11:37

@GoogleCodeExporter
Copy link
Author

adding event.stopPropagation seems to fix it:

        if (event.stopPropagation) {
            event.stopPropagation();
        }

Of course, if someone has other javascript on the page that is trying to listen 
to scroll events, doing this could screw with those listeners, but it seems 
unlikely that someone would be depending on bubbling scroll events at the same 
time that they're preventing page scrolling over a SWF.

Original comment by nathan.c...@gmail.com on 3 Jan 2012 at 11:47

@GoogleCodeExporter
Copy link
Author

Great. If you can send me a patch, I'll try to find a Mac to test it on and 
integrate the fix.

Original comment by spikything@gmail.com on 4 Feb 2012 at 2:28

@GoogleCodeExporter
Copy link
Author

Any news for the fix for MacOS X (firefox, chrome) ?

Original comment by stephane...@infostrates.fr on 20 Jun 2012 at 1:14

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

No branches or pull requests

1 participant