Discussion:
Custom Element Drag And Drop
Steve Warren
2014-03-19 00:51:01 UTC
Permalink
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

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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
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.
Eric Bidelman
2014-03-19 02:07:03 UTC
Permalink
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I have a case
<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
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CACGqRCCeoNF-7RPH8%2Bh8%3DnhA8ZNvuH_vhBKfrYsPy2HkcCu1fg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Steve Warren
2014-03-19 02:16:41 UTC
Permalink
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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I have a case
<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
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Steve Warren
2014-03-19 02:17:59 UTC
Permalink
lol, helped fix a "bug" in polymer.dart not a "but" (should be able to edit
posts imho). :)
Post by Steve Warren
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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I have a
<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
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/6c1b2b5a-86d5-454a-bbca-a8da460a3032%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Eric Bidelman
2014-03-19 02:17:58 UTC
Permalink
You can use this as a template: http://jsbin.com/sikigemu/1/edit
Post by Steve Warren
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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I have a
<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
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
To view this discussion on the web visit https://groups.google.com/d/
msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%
40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CACGqRCDmcx4Jk48LVxFY%3D5V1P_Xm5GjngKVW4o%3Da66_dxTS%2B9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Steve Warren
2014-03-19 02:19:32 UTC
Permalink
Thanks! I'll have a look.
Post by Eric Bidelman
You can use this as a template: http://jsbin.com/sikigemu/1/edit
Post by Steve Warren
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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I have a
<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
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
To view this discussion on the web visit https://groups.google.com/d/
msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%
40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/f034ee29-0ad4-4359-b44d-91dbb72312b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Steve Warren
2014-03-19 03:25:55 UTC
Permalink
Here is a jsbin, if you run under chrome the items will not be draggable.
If you run under IE they will be draggable.

http://jsbin.com/fitaqohu/1/edit

Cheers
Post by Steve Warren
Thanks! I'll have a look.
Post by Eric Bidelman
You can use this as a template: http://jsbin.com/sikigemu/1/edit
Post by Steve Warren
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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I have a
<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
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
To view this discussion on the web visit https://groups.google.com/d/
msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%
40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/6457a739-ef5c-46ed-acd3-51ec4070c19f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Steve Warren
2014-03-19 19:34:21 UTC
Permalink
Oddly enough, sometimes the items are draggable in Chrome (even in this
jsbin). Most often if you make the output panel >1000px wide and reload
the jsbin.
Post by Steve Warren
Here is a jsbin, if you run under chrome the items will not be draggable.
If you run under IE they will be draggable.
http://jsbin.com/fitaqohu/1/edit
Cheers
Post by Steve Warren
Thanks! I'll have a look.
Post by Eric Bidelman
You can use this as a template: http://jsbin.com/sikigemu/1/edit
Post by Steve Warren
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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I have
<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
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,
To view this discussion on the web visit https://groups.google.com/d/
msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%
40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/147364df-4ded-445e-b5f2-c3e3014d734f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Steve Warren
2014-03-19 21:20:07 UTC
Permalink
I've narrowed the issue further:

http://jsbin.com/sajukoqe/1/edit

If I wrap a <content></content> node in a <div> then I can't drag the
element. If I just put <content></content> as the template contents I can
drag the element. So, element within an element was not the root cause.
Post by Steve Warren
Oddly enough, sometimes the items are draggable in Chrome (even in this
jsbin). Most often if you make the output panel >1000px wide and reload
the jsbin.
Post by Steve Warren
Here is a jsbin, if you run under chrome the items will not be draggable.
If you run under IE they will be draggable.
http://jsbin.com/fitaqohu/1/edit
Cheers
Post by Steve Warren
Thanks! I'll have a look.
Post by Eric Bidelman
You can use this as a template: http://jsbin.com/sikigemu/1/edit
Post by Steve Warren
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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I have
<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
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,
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/dba9c662-
e72f-406e-8157-01b39831c27d%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/7878a962-ca52-4848-bae2-6a0f33ef8ebe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Steve Warren
2014-03-19 22:48:57 UTC
Permalink
Sorry to keep posting so many updates. But I've found a workaround and
thought I should post it up. If I make the <div> an inline-block it doesn't
interfere with the DnD function. After making that change DnD works on
Chrome and still works on IE.
Post by Steve Warren
http://jsbin.com/sajukoqe/1/edit
If I wrap a <content></content> node in a <div> then I can't drag the
element. If I just put <content></content> as the template contents I can
drag the element. So, element within an element was not the root cause.
Post by Steve Warren
Oddly enough, sometimes the items are draggable in Chrome (even in this
jsbin). Most often if you make the output panel >1000px wide and reload
the jsbin.
Post by Steve Warren
Here is a jsbin, if you run under chrome the items will not be
draggable. If you run under IE they will be draggable.
http://jsbin.com/fitaqohu/1/edit
Cheers
Post by Steve Warren
Thanks! I'll have a look.
Post by Eric Bidelman
You can use this as a template: http://jsbin.com/sikigemu/1/edit
Post by Steve Warren
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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I
<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
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,
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/dba9c662-
e72f-406e-8157-01b39831c27d%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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,
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/de86c830-f3d6-4a87-8334-efc412e1cc08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Steve Warren
2014-03-20 16:46:55 UTC
Permalink
One more update, my DnD example works in IE10, works in Chrome with the
workaround, but does not work in Firefox.
Post by Steve Warren
Sorry to keep posting so many updates. But I've found a workaround and
thought I should post it up. If I make the <div> an inline-block it doesn't
interfere with the DnD function. After making that change DnD works on
Chrome and still works on IE.
Post by Steve Warren
http://jsbin.com/sajukoqe/1/edit
If I wrap a <content></content> node in a <div> then I can't drag the
element. If I just put <content></content> as the template contents I can
drag the element. So, element within an element was not the root cause.
Post by Steve Warren
Oddly enough, sometimes the items are draggable in Chrome (even in this
jsbin). Most often if you make the output panel >1000px wide and reload
the jsbin.
Post by Steve Warren
Here is a jsbin, if you run under chrome the items will not be
draggable. If you run under IE they will be draggable.
http://jsbin.com/fitaqohu/1/edit
Cheers
Post by Steve Warren
Thanks! I'll have a look.
Post by Eric Bidelman
You can use this as a template: http://jsbin.com/sikigemu/1/edit
Post by Steve Warren
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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I
<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
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,
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/dba9c662-
e72f-406e-8157-01b39831c27d%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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,
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/2dac43da-6470-4cb3-8202-de033b13155f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/99f51c87-252a-43be-90a8-8778e7664c2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Steve Warren
2014-03-19 02:18:43 UTC
Permalink
I'm not a big fan of stack overflow, too many rules and random people
enthusiastic about policing them. I helped fix a bug 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.
Post by Eric Bidelman
Steve, mind posting this on stack overflow with a jsbin?
Post by Steve Warren
I'm having trouble getting DnD of a custom element working. I have a case
<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
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/dba9c662-e72f-406e-8157-01b39831c27d%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/ac4aab32-5846-4abf-ac97-dbc1d81cc6f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...