1 | | Replying to [comment:25 Evan]: |
2 | | > Replying to [comment:23 bill]: |
3 | | > > Good catch, too bad that lang.delegate() has that issue. So I revert to my original suggestion |
4 | | > > |
5 | | > > {{{ |
6 | | > > listener.call(this, lang.mixin({}, evt, { |
7 | | > > target: hoveredNode, |
8 | | > > preventDefault: function(){ evt.preventDefault(); }, |
9 | | > > stopPropagation: function(){ evt.stopPropagation(); } |
10 | | > > })); |
11 | | > [[BR]] |
12 | | > Thanks, Bill, this works nicely. [[BR]] |
13 | | > |
14 | | > BTW, I was previously wondering if this will bring performance affect since many new event objs are continuously created and mixin-ed when user keep moving touch points, but I don't think there are any better ways except the above deprecated tricky way.[[BR]][[BR]] |
15 | | > |
16 | | > Actually this also fixes #15946 |