Topic: Tree: Drag and Drop - Pointer Position Problem [Solved]

Hello there! First of all, I recently came across Mif.Tree and it really looks great, thank you for doing it! I started playing with it and found a problem, most likely css related, that I'm absolutely not sure how to solve:

when I'm on top of the page, everything with drag and drop works the same in Firefox 2, Firefox 3 and Opera 9.5, but when I scroll the page a bit lower and then try dragging, the blue pointer line is positioned lower than it should be, and the lower I'm scrolled the lower it is, both in FF3 and Opera 9.5. It seems like some kind of a problem with positions absolute/relative but I can't figure out what, and it's probably the first time I see FF2 and FF3 behaving differently in something. To demonstrate this problem I'm (hopefully) including a ZIP attachment containing index.html and all the stuff exactly as I tried it (mif.tree trunk rev 94, style and layout "extracted" from DnD demo page). I bet it's something little and stupid I'm completly missing, but in any case, if anyone knows how to solve this, any help will be greatly appreciated! smile Thanks!

edit 2: also for some weird and probably unrelated reason, it doesn't work in IE7... sad

Last edited by truthseeker (2009-05-20 15:18:16)

Re: Tree: Drag and Drop - Pointer Position Problem [Solved]

fixed rev95

Re: Tree: Drag and Drop - Pointer Position Problem [Solved]

ie7 - extra comma after onComplete

Re: Tree: Drag and Drop - Pointer Position Problem [Solved]

let me just say: WOW! big_smile I didn't expect an answer nor a fix in less than 30 minutes smile Thank you good sir, it works! I shall continue exploring this interesting class further then smile

ie7 - indeed, silly me... happens to me so often in IE7 that I should finally learn to check for it wink