Comments (5)
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.
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.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mousewheeltrap.