Hi,

I already started to implement this feature. For now the dragged element is copied to a helper and only the helper is moved. The draggable will have a new option to append this helper to the parent element.

Paul Bakaus wrote:
Hi there,

this is because of Interface appending the draggable element to the body, rather then to its parent. For example, scriptaculous appends the draggable to it's parent, so it will stay in context.
I had the problem the other way around: When using scriptaculous, I had to modify scriptaculous to append to body, because of this: My draggable was in a overflow: auto container and I wanted to move it out. However, trying to move a overflow: auto's child will give you only scrollbars.

Perhaps we should implement a option to toggle between appending to body/parent, like appendTo: 'body'

2006/9/10, Yehuda Katz <[EMAIL PROTECTED] >:
Anyone have any idea about this. Resolving this issue is honestly the difference between using Prototype and jQuery for a particular project.


On 9/8/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:
Stefan or anyone who can answer this,

I'd like to use a sortable inside a container a la Google Maps. Unfortunately, the current sortable code "lifts" items wrapper inside a container out of the container (regardless of zIndex) so you can see the entire item being dragged. Is there a way to have a draggable item inside a container that stays inside the container when being dragged?

--
Yehuda Katz
Web Developer
(ph)  718.877.1325



--
Yehuda Katz
Web Developer
(ph)  718.877.1325

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/





--
Paul Bakaus
Web Developer
------------------------
Hildastr. 35
79102 Freiburg

_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/




_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to