Bug Tracker

Opened 16 years ago

Closed 15 years ago

#2622 closed bug (worksforme)

Multiple draggables and droppables, dynamically loaded

Reported by: mrmoosehead Owned by: braeker
Priority: minor Milestone:
Component: ui Version: 1.2.3
Keywords: ui draggable droppable multiple Cc:
Blocked by: Blocking:

Description

I have a completely jquery driven site (PHP server side) - single host page, many ajax filled controls. Many of these ajaxed controls pull in common data with script tags at the end to create draggable and droppable img elements

Trouble is, as more of these draggables and droppables are introduced, the drag/drop code seems to get confused and queues up the information, and sometimes doubles up on the drop events.

Have tried isolating the classes and ids that have the draggable functionality imposed to avoid crossover and multiple declarations, but still seems to have problems.

UI version 1.0

Change History (5)

comment:1 Changed 16 years ago by paul

Owner: changed from paul to codesquare

comment:2 Changed 16 years ago by anoopr

I'm seeing the exact same issue. I'm using livequery to attach droppable behavior to dynamically loaded divs, and as more draggables are rendered onto the screen, I start getting multiple drop events all over the place.

comment:3 Changed 15 years ago by paul

This is hard to reproduce for us without a test case. Could you submit us a simple test case, maybe using livequery?

comment:4 Changed 15 years ago by paul

Owner: changed from codesquare to braeker
Priority: majorminor

comment:5 Changed 15 years ago by braeker

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.