Closed as duplicate of#11230
Description
Vue version
3.5.17
Link to minimal reproduction
Steps to reproduce
Click any of the buttons when ssr is on and preview is refreshed
What is expected?
No error, content displayed or moved to the correct dom postition
What is actually happening?
Failed to execute 'insertBefore' on 'Node': parameter 1 is not of type 'Node'.
System Info
Any additional comments?
core/packages/runtime-core/src/components/Teleport.ts
Lines 30 to 31 in ba391f5
I think we should also check for valid props.to here? ie:
props && (props.disabled || props.disabled === '' || !props.to)
Metadata
Metadata
Assignees
Labels
No labels