jQueryUI draggable sets “position: relative” on my draggable divs
问题 I'm having an odd problem with jQuery draggable this morning, I wonder if anyone else has come across this. I have many small divs inside a large div. They are absolutely positioned: "position:absolute" in CSS for their class, with the actual position itself calculated and set in JS on demand. Now I'm adding functionality to allow these divs to be draggable. But, as soon as I make one draggable, it is given "position:relative" directly on the element, which as you might imagine, seriously