ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.03k stars 1.2k forks source link

Multiple Instances on same Page #308

Closed claravanstaden closed 10 years ago

claravanstaden commented 10 years ago

I've got tabs, with a gridster instance on each page. I make objects of these gridsters, and add widgets. Everything works fine, except for the dragging. Only the last instantiation of a gridster object calls the drag stop callback. The rest drag starts, drag, but does not invoke the stop callback. I have used PR #273, but the problem persists. Can anyone give me an idea of what the problem might be?

claravanstaden commented 10 years ago

On a side note, I am using namespaces.

davidpelayo commented 10 years ago

Could you please post here a codepen or jsfiddle to see the problem live?

vieron commented 10 years ago

Drag callbacks are working with multiple gridster instances on same page. No jsfiddle test so closing the issue...