Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2527 closed bug (fixed)

[ui.sortable] ui.sender

Reported by: neojp Owned by: paul
Priority: minor Milestone:
Component: ui Version:
Keywords: Cc:
Blocked by: Blocking:

Description

Sometimes ui.sender is not passed on change events.

console.info(ui.sender);

Change History (3)

comment:1 Changed 15 years ago by paul

sender is only passed when you move the element into a different container.

comment:2 Changed 15 years ago by neojp

Indeed, it is supposed to do that. Still there are sometimes when it isn't passed; the Layout demo was using it, if you move around a box between different containers you will see that the placeholder is not always been resized.

if(ui.sender){
  var w = ui.element.width();
  ui.placeholder.width(w);
}

comment:3 Changed 15 years ago by paul

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.