GithubHelp home page GithubHelp logo

Comments (4)

kbjr avatar kbjr commented on May 30, 2024

I have used this libraray myself many times for many different projects, frequently creating multiple draggable elements at a time. I can assure you the library is capable of multiple draggables. What is the code you are working with?

from dragdrop.

skyzyx avatar skyzyx commented on May 30, 2024

Specifically table headers (TH) elements. If I DragDrop.bind(elem) then
again on a second TH element, both will register the click and drag, but
only the last element will actually move.

Are there any unit tests that I can poke around with? My JavaScript
experience is very advanced, so if you can point me in the right direction,
it would help.

Thanks!

On Mon, May 13, 2013 at 2:01 PM, James Brumond [email protected]:

I have used this libraray myself many times for many different projects,
frequently creating multiple draggable elements at a time. I can assure you
the library is capable of multiple draggables. What is the code you are
working with?


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-17840434
.

Ryan Parman
Hacker. User advocate. Entrepreneur.
http://ryanparman.com

"If you don't have passion for what you do, you won't be very good at it."

from dragdrop.

kbjr avatar kbjr commented on May 30, 2024

I cannot imagine that TH elements would work well with drag and drop as their positioning is handled differently. Your issue might be that you're trying to reposition elements that the browser doesn't want to let you move.

No, I never got around to writing unit tests.

from dragdrop.

skyzyx avatar skyzyx commented on May 30, 2024

I'm currently rewriting portions of this library to handle my use cases. I'll submit a pull request once I get there.

from dragdrop.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.