fix(vapor): handle next host node for vapor component#13823
fix(vapor): handle next host node for vapor component#13823edison1105 merged 2 commits intovuejs:minorfrom
Conversation
…de before which the new node is to be inserted is not a child of this node.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
❌ Deploy Preview for vue-sfc-playground failed. Why did it fail? →
|
| if (vnode.shapeFlag & ShapeFlags.COMPONENT) { | ||
| if ((vnode.type as ConcreteComponent).__vapor) { | ||
| return hostNextSibling((vnode.component! as any).block) | ||
| const next = hostNextSibling((vnode.component! as any).block) |
There was a problem hiding this comment.
It should be vnode.anchor
I have already fixed it at #12962
core/packages/runtime-core/src/renderer.ts
Line 2514 in 98e1dd1
Playground