Sortable lists with list-dividers

Hi guys,

I have a list with list-dividers, but when I’m sorting, the divider (as I expected) are also sortable. Is there any way to avoid this? And make only the list-items sortable?

PS: I’m using F7 + Vue v1

All the best,
César Teixeira

Sorry guys, I solved this using a v-show on the dividers. Probably not the best use case but for now it works :wink:

1 Like

You can add the following CSS rule:

.list .item-divider .sortable-handler {
  display: none;
}

And sortable handler won’t be visible for item divider means it won’t be sortable

Thanks Vladimir :wink: it’s better to use css than use the v-show solution :slight_smile:

Thank you :wink:

1 Like