Skip to main content

Search and Top Navigation

#10000 closed bug (notabug)

Opened April 28, 2014 02:04PM UTC

Closed April 28, 2014 05:48PM UTC

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().

http://jsbin.com/mizejiva/2/

Windows 7, Chrome 34.0.1847.116.

Attachments (0)
Change History (1)

Changed April 28, 2014 05:48PM UTC by tj.vantoll comment:1

resolution: → notabug
status: newclosed

Hi thb,

Thanks for taking the time to contribute to jQuery UI. The

size
object is read only, but you can use the
ui.element
reference to alter the size: http://jsbin.com/mizejiva/4/edit