MaxLeiter / sortablejs-vue3

A thin wrapper around Sortable.js for Vue 3
https://sortablejs-vue3.maxleiter.com
MIT License
378 stars 19 forks source link

template #header shifts old-/newIndex #102

Open jb-alvarado opened 8 months ago

jb-alvarado commented 8 months ago

Hello, I don't now if it is possible, but the template #header element should not have an impact on oldIndex and newIndex.

At the moment, when this element is used, all indexes have +1. Can be confusion for people.

When is not possible to change this, maybe a note in the documentation would be good.