atom feed2 messages in com.googlegroups.jquery-uiRe: Drag and drop, very slow
FromSent OnAttachments
mdw77Dec 7, 2007 7:04 am 
michal kuklisDec 15, 2007 9:12 pm 
Subject:Re: Drag and drop, very slow
From:michal kuklis (
Date:Dec 15, 2007 9:12:08 pm

Hi Mark,

It happens when the number of droppable elements is big.

1.Maybe you can try to minimize the no. of droppable by setting them in a dynamic way. (maybe by setting a listener 'mouseover' on your current droppable elements and every time you drag element over then set the droppable (only for the current element/ or set of elements).

2.Maybe you could group droppable by hours and then enable/disable them based on the draggable position?


On Dec 7, 10:04 am, mdw77 <> wrote:

Hi all,

I am creating a drag and drop day-planner style app. I have it all working quite well (so far) but it is very slow.

Please see the link:

There are a lot of draggable items, and even more droppable areas on the page. If I reduce these down to very few, the page runs nice and quick, but with all the elements I need on the page (there will probably need to be even more in the future) it is very very slow.

Using firebug profile, I am making in excess of 35000 calls to drag a single item, whereas with only one draggable and one droppable element on teh page, that is way down to around 3000. I don't know what numbers I should expect to be seeing, but I do know the app is too slow to use in it's current state.

Any suggestions please?