Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
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 [email protected] on 12 Jul 2011 at 9:35

from mousewheeltrap.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
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 [email protected] on 3 Jan 2012 at 11:37

from mousewheeltrap.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
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 [email protected] on 3 Jan 2012 at 11:47

from mousewheeltrap.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
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 [email protected] on 4 Feb 2012 at 2:28

from mousewheeltrap.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Any news for the fix for MacOS X (firefox, chrome) ?

Original comment by [email protected] on 20 Jun 2012 at 1:14

from mousewheeltrap.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.