Thanks, Tom. To clarify - what do you mean by moving the element to a different parent? The element to be dragged?
My goal is to have a potentially long list of elements -- hence the scrollbar -- which can be dragged across to the "main" div. On 10 Jul, 16:32, Tom Gregory <[EMAIL PROTECTED]> wrote: > You just defined one way to resolve the problem--you just don't like > the answer. Don't have the parent be overflow:auto (or scroll). > > The CSS is doing exactly what the spec says it should do when > overflow is defined that way: child elements can't extend past the > border of the parent. Your only other option is to move the element > to a different parent, perhaps one higher up in the DOM tree. > > TAG > > On Jul 9, 2007, at 10:38 PM, [EMAIL PROTECTED] wrote: > > > > > Hello, > > > I am trying to drag a div element (Z) out of a containing div (A) to > > an adjacent div (B). > > > With overflow: auto set for A, it is not possible to drag out Z out of > > A. It's fine when I remove overflow: auto but I really do need a > > scrollable region for A. > > > I have read the past posts on this topic but I am unclear how to best > > resolve the problem. > > > Is it still a problem or has this been addressed in later releases? I > > have tried to find reference to it in the script.aculo.us and Rails > > enhancements/documentation sites but without success. > > > Can anyone recommend a good solution to the problem? > > > Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
