Opened 5 years ago

Closed 5 years ago

#10141 closed bug (cantfix)

.resizable() buggy in centered divs

Reported by: flashspys Owned by:
Priority: minor Milestone: none
Component: ui.resizable Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:

Description

If you drag and resize the div a little bit you'll notice that dragging will work fine, but resizing is very buggy. http://jsfiddle.net/flashspys/S8eHJ/9/

It only happen on centered divs but on every centered div like centered via text-align and display: inline-block or even when the div is centered by <center> :D

I have no way to center this div without being buggy :(

Change History (1)

comment:1 Changed 5 years ago by Scott González

Resolution: cantfix
Status: newclosed

I don't think there's much we can do about this. You're relying on the crazy behavior of position: absolute with no actual positioning information. See http://jsfiddle.net/S8eHJ/10/ for a properly positioned element.

Note: See TracTickets for help on using tickets.