Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2527 closed bug (fixed)

[ui.sortable] ui.sender

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

Description

Sometimes ui.sender is not passed on change events.

console.info(ui.sender);

Change History (4)

comment:1 Changed 12 years ago by paul

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

comment:2 Changed 12 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 12 years ago by paul

Resolution: fixed
Status: newclosed

comment:4 Changed 11 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.