I've got a div that I want to be able to resize and drag around but am seeing issues. This div is absolute positioned and has a z-index of 1000. It has text in it but can have a lot of whitespace as well.
For draggable, it will work if the mouse is over a part of the div that has text. If there's no text, it can't grab the div.
I can't get the resizable plugin to work at all. I can see the divs that are added and the little chevron looking thing at the bottom right. But again, when I click there nothing happens and it ends up highlighting text in the divs behind this div.
I noticed that ui-resizable is trying to set my div's css position to relative but is being overridden by my css which is making it absolute. I can't find any reference that you can't use this widget on an absolute positioned element. In fact, reading online it seems like this shouldn't be a problem.
Any ideas?
Absolute positioning does not affect the div from being either resizable OR draggable. This seems to work just fine:
HTML
JQuery
JSFiddle
I believe that your problem is somewhere else in your code.