I tried fiddling with this, and part of the problem seems to be in the
ui.sortable.js script on line 41:

if(!(/(relative|absolute|fixed)/).test(this.element.css('position')))
this.element.css('position', 'relative');

Basically, if the parent element isn't already using a non-static
positioning style, it is set for relative.

This seems to mess with the offset calculations of the dragged elements.

I'm not sure if the error is with the dimensions offset calculation or what.

I tried setting the parent box to absolute and got an even weirder result.
Setting the parent box to fixed resulted in an accurate calculation.

Can anyone else weigh in on this?

JK
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of tallvanilla
Sent: Sunday, October 12, 2008 1:32 PM
To: jQuery UI
Subject: [jquery-ui] Re: sortable: strange dragging behavior in IE ( demo
included )


(bump)

Come on, guys... this is worth a look.
IE6/7 still accounts for 45%+ of web users!
Is there a better place to report bugs?

JR



On Oct 11, 12:29 pm, tallvanilla <[EMAIL PROTECTED]> wrote:
> Anyone? This should be a no-brainer for your jQuery/UI pros!
>
> It's worth noting that removing the "float: left" style from the
> draggable elements makes the problem go away. Unfortunately, this puts
> all of the draggable elements in a vertical stack rather than a
> wrapping row of inline elements. Is this a known bug? I haven't been
> able to find any info about it - here or elsewhere. Please help!
>
> JR
>
> On Oct 10, 6:17 pm, tallvanilla <[EMAIL PROTECTED]> wrote:
>
> > Hello. I've been having trouble making ui.sortable work in IE (maybe
> > just IE6?) due to a strange dragging behavior. I put together this
> > simple demo to illustrate the problem:
>
> >http://74.205.76.81/sorttest/
>
> > As you can see, the dragged element is out of place while dragging.
> > Oddly enough, it drops into the correct place when released. This is
> > obviously a major usability problem, because it's visually
> > disconcerting to the user. I'm pretty new to jQuery and UI. Can any of
> > you jQuery pros please help?
>
> > JR



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to