in partnership with mediatemple

Ticket #870 (closed defect: fixed)

Opened 3 months ago

Last modified 1 month ago

Strange IE drag image behaviour with mootools 1.2b2

Reported by: Ariel Owned by:
Type: defect Priority: minor
Milestone: Mootools version 1.2 Component: Core
Keywords: drag IE cursor wrong Cc:

Description

Using SVN version #1440. Use Drag.Move over an element, and then when you start dragging it.. it shows a “disabled cursor” and the element stops dragging.
It works on Firefox, but not in IE.

more info:
http://forum.mootools.net/viewtopic.php?id=8512

Change History

Changed 1 month ago by kasi

Maybe I am missing something, because it is too obvious, but adding eventpreventDefault() to Drag.check and Drag.drag method fixes IE.

KASI

Changed 1 month ago by kamicane

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

kasi, you're not missing anything. This way explorer ignores its default image drag behavior. I added a preventDefault option in [1525], that prevents everyy default action of the event. this should fix the problem.

Note: See TracTickets for help on using tickets.