vue-fragment icon indicating copy to clipboard operation
vue-fragment copied to clipboard

Issue with fragment inside of slot with v-if

Open atomanyih opened this issue 5 years ago • 2 comments

Minimal repro: https://codesandbox.io/s/vue-fragment-slot-ckird

  1. Click button to show content
  2. Click button to remove content
  3. not all children are removed & this error occurs:

"NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node."

atomanyih avatar Apr 02 '20 22:04 atomanyih

@atomanyih

I made vue-frag which doesn't have this issue. 👉 Demo

Hope it meets your needs!

privatenumber avatar Sep 15 '20 18:09 privatenumber

Our team had the same issue after we upgraded from Vue 2 to Vue 3. Since Vue 3 has built-in support for fragments, we simply removed this package to fix the issue.

thehale avatar Dec 06 '23 21:12 thehale