privatenumber / vue-frag

🤲 Create Fragments (multiple root-elements) in Vue 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not work with Sortable.js

MisicDemone opened this issue · comments

Thanks for the reproduction.

Sorry, but I'm going to close this with a won't fix.

Vue-frag is only designed to work with Vue.js. The way it works is by patching DOM API nodes to trick anyone interacting with it to think that the root element is still in the DOM. As a side effect, it will trick other libraries like SortableJs that the root element is still there when it's actually not.

I'm afraid adding further support to selectively choose when to return fake data and when to return real data (if that's even possible) will bloat the library unnecessarily.