Opened 9 years ago
Closed 9 years ago
#10000 closed bug (notabug)
User should be able to manually set height and width in resize()
Reported by: | thb | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.resizable | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
There are cases where existing snap-to-grid functionality is not enough. In those cases user could set element width and height manually in resize-callback. This works for draggable, but not for resizable.
This seems to be because user callback is called after css properties are set in _mouseDrag().
Windows 7, Chrome 34.0.1847.116.
Note: See
TracTickets for help on using
tickets.
Hi thb,
Thanks for taking the time to contribute to jQuery UI. The
size
object is read only, but you can use theui.element
reference to alter the size: http://jsbin.com/mizejiva/4/edit