Thanks for taking the time, Jeffrey!

Picking up where you left off, I tried setting the containment element
(id="sortboundary") to "position: fixed", but nothing changed:

   http://74.205.76.81/sorttest/index2.php

Maybe that isn't what you meant, so I tried setting the sortable
items' parent DIV (id="boxes") to "position: fixed", and it worked!
But only in IE(6?). It broke in every other browser:

   http://74.205.76.81/sorttest/index3.php

I'm thinking I can use the CSS underscore hack to set "_position:
fixed" for IE6 only. Is this the best way to overcome the bug?

If so, my only remaining question is... does IE7 require the same fix
as IE6? I don't have IE7 (don't want to install it over IE6), so I
can't test this for myself. When you have a minute, can you please
tell me if the following version works consistently across all
relevant browers?:

   http://74.205.76.81/sorttest/index4.php

Thanks again for your time. I really appreciate it, and I think this
is a vital issue for anyone using UI sortable!

JR



On Oct 12, 2:14 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> 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