Ticket #102 (closed task: fixed)

Opened 2 years ago

Last modified 1 year ago

painting

Reported by: eric.faurot@gmail.com Assigned to: somebody
Priority: lowest Milestone: MochiKit 1.5
Component: component1 Version:
Severity: blocker Keywords: painting
Cc: painting

Description

On FireFox? (at least), when the target is a fixed element and the page is scrolled, MochiKit.DragAndDrop does not use the correct (or expected) coordinates for detecting drops. The attached example illustrates the problem. Drag a few lines in the box, then scroll a little bit, and try again. Drops will take effect if they land within the target bounding box in the page coordinate system, not the viewport CS. (I hope I am not confused between page and viewport. You get the idea anyway.)

Attachments

dndfixed.html (3.2 kB) - added by eric.faurot@gmail.com on 05/06/06 08:23:59.

Change History

05/06/06 08:23:59 changed by eric.faurot@gmail.com

  • attachment dndfixed.html added.

05/08/06 10:40:07 changed by therve@gmail.com

  • status changed from new to closed.
  • resolution set to fixed.

Thank you for your good example, fixed in [842]. Note that fixed elements don't work in IE so are rarely used (and tested).

07/06/07 12:07:59 changed by anonymous

  • severity changed from normal to blocker.
  • cc set to painting.
  • summary changed from Wrong coordinates for fixed MochiKit.DragAndDrop.Droppable to painting.
  • priority changed from normal to lowest.
  • milestone set to MochiKit 1.5.
  • keywords set to painting.
  • type changed from defect to task.