Custom Element Drag And Drop

123 views
Skip to first unread message

Steve Warren

unread,
Mar 18, 2014, 8:51:01 PM3/18/14
to polym...@googlegroups.com
I'm having trouble getting DnD of a custom element working. I have a case like:

<elementA>
  <elementB></elementB>
  <elementC></elementC>
  <elementD></elementD>
</elementA>

And B/C/D have draggable set true and drag events added in "enteredView"  (polymer.dart) and "created" (polymer.js).

In both the dart implementation and the javascript implementation dragging and dropping is not working in Chrome, but is working in IE10. Are there known issues in this area, or is their a working demonstration like what I'm doing I can run and test to see if I'm doing something wrong? (although given it's working in IE10 I'm not sure what that could be)

Regards

Eric Bidelman

unread,
Mar 18, 2014, 10:07:03 PM3/18/14
to Steve Warren, polymer-dev

Steve, mind posting this on stack overflow with a jsbin?

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted
Message has been deleted

Eric Bidelman

unread,
Mar 18, 2014, 10:17:58 PM3/18/14
to Steve Warren, polymer-dev
You can use this as a template: http://jsbin.com/sikigemu/1/edit


On Tue, Mar 18, 2014 at 7:16 PM, Steve Warren <sfes...@gmail.com> wrote:
I'm not a big fan of stack overflow, too many rules and random people enthusiastic about policing them. I helped fix a but in polymer.dart earlier today and was pointed here for my remaining mystery. I can try to boil it down into a jsbin for sure, never used that before so I'll see about figuring that out next.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages