YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub

YUI 2.x

Ticket #2528607 (closed defect)

Reporter


Eduardo Lundgren
Opened: 02/8/10
Last modified: 03/31/10
Status: closed
Type: defect
Resolution: fixed

Owner


Dav Glass
Target Release: 3.1.0
Priority: P3 (normal)
Summary: Drop events not firing when attached to a Drag target
Description:

Drop events not firing when attached to a Drag target. See test information.

Type: defect Observed in Version: development master
Component: DragDrop Severity: S3 (normal)
Assigned To: Dav Glass Target Release: 3.1.0
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

YUI().use('dd', function(Y) {

Y.DD.DDM.set('throttleTime', -1);

Y.all('div').each(function(node) {
var drag = new Y.DD.Drag({ node: node, target: true });

drag.on('drag:start', function() {
console.log('Drag events WORKING - target drag:start');
});

drag.on('drop:enter', function() {
console.log('Drop events NOT WORKING - target drop:enter');
});
});

});

Change History

Eduardo Lundgren

YUI Contributor

Posted: 02/8/10
  • severity changed from S3 (normal) to S1 (critical)

Dav Glass

YUI Developer

Posted: 02/8/10
  • component changed from dd to DragDrop
  • location changed to Library Code
  • milestone changed to 3.1.0
  • owner changed from Dav Glass to Dav Glass
  • priority changed to P3 (normal)
  • severity changed from S1 (critical) to S3 (normal)
  • status changed from accepted to assigned

There are no S1's on development master ;)

Dav Glass

YUI Developer

Posted: 02/8/10
  • resolution changed to fixed
  • status changed from assigned to checkedin

Fixes #2528607 - Added bubbleTargets config to dd.target object
View Commit:

George

YUI Developer

Posted: 03/31/10
  • status changed from checkedin to closed