Comments (3)
Ooo, it shouldn't do that. I don't know if it's wrong because I'm not
familiar with CoffeScript, but I haven't run into this problem. Is it
happening on move and moveend as well as movestart?
On 21 January 2013 21:03, Daniel X Moore [email protected] wrote:
Is there a way to get currentTarget to work correctly with delegated
events or am I doing something wrong?$(".itemPalette").on "movestart", ".item", (e) ->
$(e.currentTarget) # is document rather than .itemβ
Reply to this email directly or view it on GitHubhttps://github.com//issues/11.
from jquery.event.move.
Furthermore, why is it document, and not .itemPalette ?
On 21 January 2013 21:06, Stephen Band [email protected] wrote:
Ooo, it shouldn't do that. I don't know if it's wrong because I'm not
familiar with CoffeScript, but I haven't run into this problem. Is it
happening on move and moveend as well as movestart?On 21 January 2013 21:03, Daniel X Moore [email protected] wrote:
Is there a way to get currentTarget to work correctly with delegated
events or am I doing something wrong?$(".itemPalette").on "movestart", ".item", (e) ->
$(e.currentTarget) # is document rather than .itemβ
Reply to this email directly or view it on GitHubhttps://github.com//issues/11.
from jquery.event.move.
Actually I think it may have been an error in my usage. I was migrating some code from a global draggable where some events were bound on document and some were delegated. Upon further inspection it seems to be working correctly.
Thanks for the quick response!
from jquery.event.move.
Related Issues (20)
- Firefox Mobile
- CanΒ΄t use moveend on body and expect document scrolling to work on mobile devices. HOT 4
- Use with webpack HOT 2
- Need 'movestart' on pointerdown HOT 5
- jQuery 3.0.0 breaks jQuery.event.props usage HOT 8
- move delay in mobile HOT 2
- for ... of statements break Uglify JS2 and all but the latest browers HOT 4
- Doesn't work in android stock browser 4.4.2 HOT 1
- release 2.0.0 HOT 5
- minification fails because of es6 features HOT 2
- ES6 Symbol breaks < IE Edge HOT 5
- Chrome treats document-level touch event listeners as passive by default HOT 4
- Cannot read property 'toLowerCase' of undefined
- NPM/Yarn doesn't install version 2 but always 1.3.6 HOT 2
- velocityX/Y is NaN
- Inner scroll won't work on iOS unless I remove preventDefault
- Versions 2.0.0+ broke vertical scroll in Edge Mobile
- Can't scroll over input
- Versions 2.0.0+ when add e.stopPropagation() in movestart envent is canot work
- Vulnerability checks failing on js/jquery-3.1.1.js
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 jquery.event.move.