Closed jackiotyu closed 6 months ago
Looks good, I'll test this during my weekend 👍
thanks
@Mechazawa any chance of getting this feature merged and released?
Sorry, completely forgot. Looks good
It's included in v1.1.1
@Mechazawa it looks like this PR ended up breaking the teleport component a bit :( maybe best to revert? unless you or @jackiotyu can figure out what is going on.
@eriksaulnier @Mechazawa version 1.1.0 missing dist folder.
https://github.com/Mechazawa/vue2-teleport/blob/6bb4ea5f4e26e294e9e5948a8604830105213f0d/src/Teleport.vue#L148 My mistake, this line of code caused the nodes to not synchronize destruction after the teleport component was destroyed. The reason is that after internal node updates, the reference to childNodes changes upon reacquisition. It still works fine after removing it.
Anyone has problem, please try the fixed in #7 😔
it may improve this case: the slot element is change by v-if