Skip to main content

Search and Top Navigation

#7453 open bug ()

Opened June 06, 2011 07:56PM UTC

Last modified December 01, 2014 05:49PM UTC

Resizable: stop gives incorrect size and position when animated

Reported by: cardo Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.resizable Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:
Description

With animate: true, the stop callback gives the ORIGINAL size and NOT the new size.

If i set animate: false, the correct size is returned by the stop event.

See #9613 for details about ui.position.

Attachments (0)
Change History (6)

Changed October 11, 2012 02:52PM UTC by scottgonzalez comment:1

milestone: 1.9.02.0.0

Changed October 27, 2012 08:29PM UTC by tj.vantoll comment:2

status: newopen
summary: Resizable stop: gives incorrect sizeResizable: stop gives incorrect size when animated

Verified this is an issue and still a problem in 1.9.1 - http://jsfiddle.net/tj_vantoll/ReBmy/.

Changed October 23, 2013 12:59PM UTC by tj.vantoll comment:3

#9613 is a duplicate of this ticket.

Changed October 23, 2013 01:55PM UTC by scottgonzalez comment:4

description: With the animate:true option, calling stop:function(event,ui){ alert(ui.size.width); } gives the ORIGINAL size and NOT the new size. \ \ If i set animate:false, the correct size is returned by the stop event.With `animate: true`, the `stop` callback gives the ORIGINAL size and NOT the new size. \ \ If i set `animate: false`, the correct size is returned by the stop event. \ \ See #9613 for details about `ui.position`.
summary: Resizable: stop gives incorrect size when animatedResizable: stop gives incorrect size and position when animated

Changed July 22, 2014 03:50PM UTC by scottgonzalez comment:5

#10329 is a duplicate of this ticket.

Changed December 01, 2014 05:49PM UTC by totszwai comment:6

_comment0: Any followup on this? This is still a problem with Jquery 2.0.2 and jQuery-ui 1.10.3. \ The stop event always returns a size value that is a couple of pixel smaller.1417465901009737

Any followup on this? This is still a problem with Jquery 2.0.2 and jQuery-ui 1.10.3.

The stop event always returns a size value that is a couple of pixel smaller.

If animate: true, then the height would get set to a couple pixel smaller.