Opened 5 months ago

Closed 5 weeks ago

Last modified 5 weeks ago

#15084 closed bug (fixed)

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

Change History (3)

comment:1 Changed 5 months ago by scottgonzalez

  • Keywords regression added
  • Milestone changed from none to 1.12.2
  • Status changed from new to open

comment:2 Changed 5 weeks ago by scottgonzalez

  • Resolution set to fixed
  • Status changed from open to closed
Last edited 5 weeks ago by rjollos (previous) (diff)

comment:3 Changed 5 weeks ago by scottgonzalez

  • Owner set to scottgonzalez

In 278d1e1:

Resizable: Keep user defined handles on _setOption

Fixes #15084
Closes gh-1795

Note: See TracTickets for help on using tickets.