Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draggable with Draggabilly #6

Open
ghophp opened this issue May 18, 2015 · 0 comments
Open

draggable with Draggabilly #6

ghophp opened this issue May 18, 2015 · 0 comments

Comments

@ghophp
Copy link

ghophp commented May 18, 2015

The Draggabilly constructor is being used pointing to a node. This is okay is the library is initialized only once. Otherwise, if for some reason, the developer initialize the library again, all the DOM will receive a new Draggabilly object appended.

What is happening right now, is that homescreen is subscribing to the event, after create a new instance of the object Pocketry. When a tile is dropped after drag, the callback is being called something around 10 times (and the worst part is that each time make a http request).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant