This trac report seems to mirror the problem I am seeing.  Raised 2
years ago, updated 1 year ago - not resolved.  Any idea why this
hasn't made it into the live version?

http://dev.rubyonrails.org/ticket/8356

On Jan 5, 2:29 pm, astilla <[email protected]> wrote:
> I didn't have any replies to this since posting it and hope someone
> can help as I still have the issue.
>
> I have created a test page that shows the issue - details on the
> problem are both on the test page and in the original email (below).
>
> http://www.astilla.co.uk/temp/draggabledemo/
>
> Many thanks,
>
> Andrew
>
> On Dec 16 2008, 2:01 pm, astilla <[email protected]> wrote:
>
> > Hi,
>
> > I'm having a problem with using "Position.includeScrollOffsets = true"
> > with aDraggableinside a scrolling layer - thedraggableis
> > positioned away from the mouse pointer when the layer things are in is
> > scrolled down.  I've used the includeScrollOffsets before successfully
> > on a Sortable but am not having much luck with aDraggablein the same
> > situation - does anyone know if there is anything that needs to be
> > done differently?
>
> > Basic, very cut-down outline is:-
>
> > <div id="main">
> > <ul>
> >     <li class="item">something</li>
>
> >      ... (etc) ....
>
> > </ul>
> > </div>
>
> > (script)
> >     Position.includeScrollOffsets = true;
>
> >     $$('li.item').each(function(item) {
> >         newDraggable(item, {ghosting:true, scroll:'main'});
> >     });
>
> > (css)
> > div#main {
> >         position: relative;
> >         float: left;
> >         width: 75%;
> >         overflow: scroll;
> >         height: 100%;
> >         background-color: white;
>
> > }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to