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

ng2-dnd doesn't emit event when moving between sortable containers #262

Open
NimrodAvni opened this issue May 26, 2018 · 0 comments
Open

Comments

@NimrodAvni
Copy link

  • I'm submitting a ...
    [ ] bug report
    [x ] feature request
    [ ] question about the decisions made in the repository

  • Do you want to request a feature or report a bug?

i would like an event that is triggered after items are moved between different dnd-sortable-container

  • What is the current behavior?

The trigger OnDragSuccess and OnDropSuccess trigger only when items are reorderd in the same dnd-sortable-container, but not when they are moved between different dnd-sortable-container

  • What is the expected behavior?
    have an new event that indicates if an dnd-sortable has moved to a new dnd-sortable-container

  • What is the motivation / use case for changing the behavior?
    having a trigger when items are moved between containers is very useful when working with draggable objects

  • Please tell us about your environment:
    angular: ^6.0.2
    ng2-dnd: ^5.0.2
    browser: all

  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

example HTML that represents a situation of multiple containers and dragging between them:

`

TODO
WIP
Done
`
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