Uncaught TypeError: Cannot read property 'getValues' of null when reorder in ion-list

Hi!
I’m doing a improved version of the Todo app from the tutorial, and I am getting an error when trying to reorder items from the list.

I think all is ok, but when I try to reorder items, Ionic gives this error, and reorder doesn’t work:

Uncaught TypeError: Cannot read property ‘getValues’ of nullReorderDrag._moveElement @ ionic.bundle.js:7429ReorderDrag.start @ ionic.bundle.js:7458ionic.views.ListView.ionic.views.View.inherit._startDrag @ ionic.bundle.js:7744ionic.views.ListView.ionic.views.View.inherit._handleDrag @ ionic.bundle.js:7804(anonymous function) @ ionic.bundle.js:7610triggerEvent @ ionic.bundle.js:811dragGesture @ ionic.bundle.js:1858detect @ ionic.bundle.js:1389bindDomOnTouch @ ionic.bundle.js:938

I’m testing it with Chrome in Mac OS X Yosemite, using “ionic serve”. It doesn’t work in Android or iOS neither.

I have created a Codepen with the app: http://codepen.io/anon/pen/EjjqPE

Am I doing anything incorrect? Or is it a Ionic bug?

Thanks!

Did you resolved this issue ?

1 Like