I've run into a strange problem using droppables. When my droppable
has a fixed width or is floated, the hover & drop events don't fire
when an appropriate draggables are dragged. If I simply remove the
width or float from my droppable, everything works fine.
> I've run into a strange problem using droppables. When my droppable
> has a fixed width or is floated, the hover & drop events don't fire
> when an appropriate draggables are dragged. If I simply remove the
> width or float from my droppable, everything works fine.
The default tolerance for droppables is "intersect" which means that
at least 50% of the draggable element must overlap the droppable. If
you change the tolerance to "touch" or "pointer" your example will
work fine.
On Jul 11, 7:36 am, Nick Grossman <nickgross...@gmail.com> wrote:
> I've run into a strange problem using droppables. When my droppable
> has a fixed width or is floated, the hover & drop events don't fire
> when an appropriate draggables are dragged. If I simply remove the
> width or float from my droppable, everything works fine.
> The default tolerance for droppables is "intersect" which means that
> at least 50% of the draggable element must overlap the droppable. If
> you change the tolerance to "touch" or "pointer" your example will
> work fine.
> On Jul 11, 7:36 am, Nick Grossman <nickgross...@gmail.com> wrote:
> > Hi,
> > I've run into a strange problem using droppables. When my droppable
> > has a fixed width or is floated, the hover & drop events don't fire
> > when an appropriate draggables are dragged. If I simply remove the
> > width or float from my droppable, everything works fine.