Git Product home page Git Product logo

Comments (3)

dgavey avatar dgavey commented on September 24, 2024

I think the issue here is I've never tried an area that is both a target and a sort area at the same time. Both components tap into the dragEnd event. It's highly likely one is overriding the other. I'll have to put together an example to see if I can get it working.

from ember-drag-drop.

lcpriest avatar lcpriest commented on September 24, 2024

Actually, I'll do a bit more research and get back to you, it is looking like it might be an issue on my end.

from ember-drag-drop.

lcpriest avatar lcpriest commented on September 24, 2024

With the classify posts example, is there any reason that you can see that you couldn't also Unclassify posts?

I think that is my issue here. My implementation has multiple drop zones,

  • Unclassified posts (unsorted)
  • Class 1 sorted
  • Class 2 sorted

That template and component above are encapsulated as a {{cards-list}}.

      {{#each board.sections as |section|}}
        {{cards-list cards=section.cards section=section}}
      {{/each}}
      {{cards-list cards=board.cards unsorted=true}}

from ember-drag-drop.

Related Issues (20)

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.