Bug Tracker

Opened 13 years ago

Closed 13 years ago

#5471 closed bug (invalid)

Resizable and Draggable disable does not distroy mouse event bindings

Reported by: rodc Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


I'm using resizable and draggable in my plugin. Everything works fine except when i disable the resizable and draggable it seems that it does not remove the binding to mouse events because i can still resize the plugin even its disabled. The resizing happens wehn you drag the control and hover the handles (corners) and drag it.

Using version 1.7.2 of jquery.ui and 1.3.2 jquery

Change History (2)

comment:1 Changed 13 years ago by rodc

I added this methods in ui.resizable.js fixes the problem.

enable: function() {

this._setData('disabled', false); this._mouseInit();


disable: function() {

this._setData('disabled', true); this._mouseDestroy();


Not sure if this is a good approach.

comment:2 Changed 13 years ago by john

Resolution: invalid
Status: newclosed

This is a jQuery UI bug and should be filed in the jQuery UI bug tracker: http://dev.jqueryui.com/

Note: See TracTickets for help on using tickets.