Thanks for your insight. I was able to fix this by moving the 'auto'
margin into the parent wrapper, and used a fixed margin for the
sortable item.

It does seem to me that jQuery could be modified to translate 'auto'
properly, though I could see why it would be difficult to make such a
feature work on all browsers.

This work around seems to have done the trick, though.

-
Steven Bower
TurnWheel Designs

On Nov 21, 8:34 am, "Paul Bakaus" <[email protected]> wrote:
> Hi there,
>
> sorry for the late reply - this is not a bug, at least not one we can fix
> anytime soon.
>
> The issue is the margin: 50px auto on the actual elements - this auto value
> is something we can't work
> with, jQuery always returns 0 for it, it's still the most sane value. The
> problem is
> that we have to remove margins for the time the item is dragged in order to
> really be able to follow
> the mouse reliably, and we then add the offset of the margin to the
> position, so it still has the impression it has the margin.
>
> Cheers, hope you find a way doing it without margin auto!
>
> Paul
>
>
>
> On Mon, Nov 3, 2008 at 9:59 PM, Kickboy <[email protected]> wrote:
>
> > Sure thing.
>
> > I have posted to the bug tracker:http://ui.jquery.com/bugs/ticket/3538
>
> > New test case page:http://cacrew.net/jquery-ui.bug.html(old link in
> > original post may not work)
>
> > --
> > Steven "Kickboy" Bower
> > TurnWheel Designs
>
> > On Nov 3, 2:53 am, "Paul Bakaus" <[email protected]> wrote:
> > > Hi, that looks pretty weird and seems to be related to containment.
> > > Could you simplify the test case and post it to our bugtracker? That'd
> > > be awesome.
>
> > > Thanks a lot,
> > > Paul
>
> > > On Sat, Nov 1, 2008 at 12:37 AM, Kickboy <[email protected]> wrote:
>
> > > > I have a problem with the sortable elements on my page getting "stuck"
> > > > to the left side of the page. The div's are in a fluid layout, so they
> > > > don't have a fixed position from the left side. What's weird is this
> > > > doesn't happen on WebKit browsers...
>
> > > > Browser Test Results...
>
> > > > Fails On:
> > > > Internet Explorer 7
> > > > Opera 9.62
> > > > Firefox 3.0.3
>
> > > > Works Fine On:
> > > > Google Chrome 0.3.154.9
> > > > Safari 3.1.2 (525.21)
>
> > > > Here is the page in question:http://cacrew.net/sample.php
> > > > The 3 main content divs are sortable vertically. You will see what I
> > > > mean when you try it out.
>
> > > > I have attempted to do some lame margin hacks during the dragging, but
> > > > that fact that it's not a fixed position from the left side makes that
> > > > very difficult. I need more efficient solution. I'm banging my head
> > > > against the wall at this point.
>
> > > > Any help would be appreciated.
>
> > > > Thanks!
>
> > > > --
> > > > Steven "Kickboy" Bower
> > > > TurnWheel Designs
>
> > > --
> > > Paul Bakaus
> > > UI Architect
> > > --http://paulbakaus.comhttp://www.linkedin.com/in/paulbakaus
>
> --
> Paul Bakaus
> UI Architect
> --http://paulbakaus.comhttp://www.linkedin.com/in/paulbakaus
--~--~---------~--~----~------------~-------~--~----~
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