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 comment:1
| milestone: | 1.9.0 → 2.0.0 |
|---|
Changed October 27, 2012 08:29PM UTC by comment:2
| status: | new → open |
|---|---|
| summary: | Resizable stop: gives incorrect size → Resizable: 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 01:55PM UTC by 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 animated → Resizable: stop gives incorrect size and position when animated |
Changed December 01, 2014 05:49PM UTC by 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.