Open FaahdNoor opened 5 years ago
Have you taken a look at polymer-sortablejs?
same issue with polymer-sortablejs.
@FaahdNoor I don't know Polymer, but having a look at it it seems to be because the draggable elements are tagged as my-inner-element
rather than valid HTML tags. When I change one to a div
, it becomes draggable, but the styling goes away for some reason. Also it originally did not even work in Chrome for me.
you are right, but if this my-inner-element
is wrapped inside a div, div that serves as a draggable element.
it does not work. i just want that if the any element is wrapped inside a div, it should be draggable.
The draggable elements needs to be the immediate children of the element Sortable
was called on.
still not resolved, the element should be draggable where ever the sortable should be called upon.
Problem:
when an custom-polymer element is declared as a descendant of the repeater the elements are not draggable in the firefox.
JSBin/JSFiddle demonstrating the problem:
https://jsfiddle.net/rg2d0xkz/1/