-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
events / dragged not working #35
Comments
I haven't tried events with |
Hmmm. At the moment I’m just transcribing examples on Bl.ocks using your add-on so my approach is a proven approach. Must be something I’m doing in translation.
…On May 18, 2017, 1:57 AM -0700, Ivan Vanderbyl ***@***.***>, wrote:
I haven't tried events with canvas, so can't really offer much advice there. Ember doesn't swallow events, instead relies on them bubbling up to the document level to catch them in global event handlers, then delegate them to any components which register handlers. So what's more likely is that your event handlers aren't attaching correctly, which might require something different with canvas.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@ksnyde did you resolve this? |
I didn't but largely due to lack of bandwidth. If you want to close it I can reopen when I come back to this in a week or so. |
When I used the
d3-drag/drag
function in conjunction withd3-selection/event
it would appear all events are not getting through to d3. I had a suspicion that the Ember component was swallowing up these events so I changed over to a tagless component figuring I'd have greater control of the events on the SVG/Canvas element. Sadly that didn't seem to help. Any ideas?Code here: https://github.com/ksnyde/d3-fun/blob/master/app/components/circle-dragging.js#L79-L84
The text was updated successfully, but these errors were encountered: