ObaidUrRehman / ng-drag-drop

Drag & Drop for Angular - based on HTML5 with no external dependencies. :tada:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic example doesn't work, dropping item does nothing.

egozavr opened this issue · comments

  • I'm submitting a ...
    [ ] bug report
    [ ] feature request
    [x] other

  • What is the current behavior?
    Basic example from manual doesn't work for me. When I drop item nothing happens. May be its's not compatible with stackblitz.
    Code is here.

The basic requirement is to have an onDrop handler on the droppable & set drag data on the draggable.
I modified your example to include both. Link: https://stackblitz.com/edit/angular-drag-drop-example-tw7dt3

Thanks, it's clear now )