`event.source.itemScope` is undefined
matiishyn opened this issue · comments
Hi @a5hik
thank you for the great Angular module.
We are using it in our project, but some time ago moving between columns stopped working.
It turned out that inside callbacks.itemMoved
method event.source.itemScope
is undefined.
I thought it was my local problem so I cloned your repo (https://github.com/a5hik/ng-sortable#development-environment-setup) and you have the same problem in demo/scripts/controllers/KanbanController.js:16
file:
Could you please take a look.
Please let me know how can I fix it
Regards,
Ivan
Hi I think this could be a problem introduced in some recent releases, can you try with a lower version. I'm sure this was not a problem in earlier versions.
yes, I think you are correct
because when I implemented this we had an earlier version and it definitely worked
I will try.
Thanks
Getting same issue. This commit broke it: 29b56a1
Reverting to the previous version #1.3.6
fixed the issue.
Please whenever you fixed it in future releases please resolve this Github issue so I could get the update
Getting the same issue here
@matiishyn #1.3.6
is the most recent version and has this bug.
How did you reverted to the previous version?
@ruisilva450
just put the #1.3.6
in your bower.json
and run bower install
again
But that doesn't fix the problem, because I have the #1.3.6
and I'm having this issue.
Well, #1.3.5
fixes it
I had reverted the commit 29b56a1 in the latest version 1.3.8 . So it should be fixed in latest version.