Search and Top Navigation
#10351 closed bug (fixed)
Opened July 23, 2014 01:01PM UTC
Closed July 24, 2014 08:22PM UTC
Changes to ui in callbacks no longer have any effect
Reported by: | mathrick | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.11.1 |
Component: | ui.resizable | Version: | 1.11.0 |
Keywords: | regression | Cc: | |
Blocked by: | Blocking: |
Description
Previously, callbacks could influence the ongoing resize by changing the passed ui
object. This could be used to constraint the resize dynamically (such as in http://stackoverflow.com/questions/5087262/jquery-ui-resizable-stop-resizing-in-the-resize-event). This is no longer possible.
The change happened between 1.9 and 1.10, and seems to be related to #5817 and [3974b55ba5078799df818c78d9273e11d9796ff3]. I don't understand the logic enough, however, to be able to pinpoint the exact where it did/doesn't happen, so I can't verify if it was the exact commit that changed it. In any case, the effect can be easily reproduced in the fiddle linked in one of the answers by plugging in different versions of JqueryUI. http://jsfiddle.net/PrEfd/84/ has 1.11 and shows how the technique no longer works.