Ticket #2529204 (closed defect)

Reporter


Anthony Pipkin
Opened: 08/16/10
Last modified: 09/7/10
Status: closed
Type: defect
Resolution: fixed

Owner


Dav Glass
Target Release: 3.2.0
Priority: P2 (high)
Summary: DD Constrain Region
Description:

While trying to constrain to a region, I found what appears to be a bug. I tried two different ways to set a constrain region and it is not constraining. Attached is a link.

Type: defect Observed in Version: 3.1.1
Component: DragDrop Severity: S3 (normal)
Assigned To: Dav Glass Target Release: 3.2.0
Location: Library Code Priority: P2 (high)
Tags: Relates To:
Browsers: All
URL: http://skylermedia.com/demo/dd-constrain/constrain.html
Test Information:

Change History

Anthony Pipkin

YUI Developer

Posted: 08/16/10

Dav Glass

Posted: 08/16/10
  • priority changed to P3 (normal)
  • status changed from new to infoneeded

There is a small difference in your examples ;)

The 3.0.0 example uses numbers in the constrain object, the one you are reporting the bug on uses strings:


top : '100',
right : '400',
bottom : '300',
left : '100'

Try setting them as numbers and it should work..

Anthony Pipkin

YUI Developer

Posted: 08/16/10
  • status changed from infoneeded to assigned

Updated 3.1.1 example. Still not correct when using numbers instead of string. Also the region returned from the node is not working either.

Dav Glass

Posted: 08/16/10
  • location changed to Library Code
  • milestone changed to 3.2.0
  • priority changed from P3 (normal) to P2 (high)
  • status changed from assigned to accepted

Dav Glass

Posted: 08/16/10
  • resolution changed to fixed
  • status changed from accepted to checkedin

Fixes #2529204 - Fixed issue with the region attribute no longer being cloned on get
View Commit:

Dav Glass

Posted: 08/24/10

Fixes #2529204 - Fixed issue with the region attribute no longer being cloned on get
View Commit:

George

YUI Developer

Posted: 09/7/10
  • status changed from checkedin to closed