angular-drag-and-drop-lists
angular-drag-and-drop-lists copied to clipboard
Drag And Drop of input elements inside parent not working on safari ( mac )
Trying to drag and drop text box inside drag gable div element in safari (mac) . In chrome its's working fine,but in safari dragging of text box to another element restricted. I also append span inside and it is working fine, but next to span , a textbox drag is not working correctly. https://jsfiddle.net/Utsav_fiddle/fxtdtbr9/ Can anyone suggest a fix ?
+1
Has anyone found a way around this?
Found a workaround. Replacing inputs and textareas with contenteditable spans and divs. You'll have to adjust things like readonly attributes or form submiting. You'll need to bind the ngModel controller using a directive like this one . And you can add placeholder support via CSS.. It's a little bit of work but after that, it works like a charm.