Skip to main content

Search and Top Navigation

#15084 closed bug (fixed)

Opened October 19, 2016 01:52PM UTC

Closed February 24, 2017 08:46PM UTC

Last modified February 24, 2017 09:09PM UTC

Resizable - setting handles option removes previous handles

Reported by: annam Owned by: scottgonzalez
Priority: minor Milestone: 1.12.2
Component: ui.resizable Version: 1.12.0
Keywords: regression Cc:
Blocked by: Blocking:
Description

In jquery ui 1.12.1 it seems that when reinitializing resizable or changing the "handles" setting removes the previous handles because it assumes that they will be re-added

however if you use the object notation where you define existing DOM elements for the handles, these dom elements are removed and handles disappear

here is a jsfiddle replicating the scenario : https://jsfiddle.net/annam/2cg12b1j/

change the jquery ui include to 1.11.4 to see how it worked before

thanks!

Anna

Attachments (0)
Change History (3)

Changed November 02, 2016 04:06PM UTC by scottgonzalez comment:1

keywords: → regression
milestone: none1.12.2
status: newopen

Changed February 24, 2017 08:46PM UTC by rjollos comment:2

_comment0: Fixed in [https://github.com/jquery/jquery-ui/commit/278d1e1108e6c12d35be9edce2a9efcab1946229 278d1e1108e6c12d35be9edce2a9efcab1946229].1487970562201572
resolution: → fixed
status: openclosed

Changed February 24, 2017 09:09PM UTC by scottgonzalez comment:3

owner: → scottgonzalez

In [changeset:"278d1e1108e6c12d35be9edce2a9efcab1946229" 278d1e1]:

#!CommitTicketReference repository="" revision="278d1e1108e6c12d35be9edce2a9efcab1946229"
Resizable: Keep user defined handles on _setOption

Fixes #15084
Closes gh-1795