You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the initial the teleport component target (to="#target1")
Disable the teleport component (:disabled="true")
Change the teleport target (to="#target2")
Enable the teleport again
When the teleport is re-enabled, the content is still teleported to the old target (#target1) even though the to property of the teleport component has been updated to "#target2"
What is expected?
Changes to the target of the teleport component (the to property), even if happened while the teleport is disabled, should still be honored when the teleport is re-enabled.
What is actually happening?
Changes to the target of the teleport component (the to property) are ignored if they were made while the teleport is disabled.
System Info
No response
Any additional comments?
Looks like Vue can indeed handle the teleport target change, but Vue only handles it while the teleport is enabled.
The text was updated successfully, but these errors were encountered:
Vue version
3.2.47
Link to minimal reproduction
https://sfc.vuejs.org/#eNqdVM1u2zAMfhVWO3gFmnj10XWDDbvsAQrs4ot/FFutLBmSnC4I/O6jJEtJlmRDBySAKJEfP5KfeSDfxnG9myjJSaEbxUYDmppp3JSCDaNUBg6g6BZm2Co5QIKuSSlK0UihDQy6g2f7/jn5QTmX8FMq3t4l98HBVKqjZvEpSS3bfUnun+Iz5dQmYSLgbCuuKYaXokg9H2SChqHDyCtD0QIoWrYDbfacPpdkwBRMrGppjBxyyL6Mv0ri3NBR8uWEZ842DWfNGxT1xsiu4zTmL9J6A0YCFVWN1y/xGmOuxn/vK9Ghoy8PI32hjwFoRxXb7sH01bHI0IymElBTaBxEa70/xehb+W7wbZkOhOV/Ec4CkmeDhPHvXj7M5dg7RwWqrmI4xIhSpHEYBdvYRKgBQwUKrpcTb21PAuZZW7IHqCcDDH8ap844R1ermKve2ESfsUhRJe7kLIQwUsBXVwbK5lx6dydmVM+LLzSowYN6HJ/hAjOoPQlkkgh2SzGe3cdgs3/CZldgbTuiFv202twO9HA4qX6e7UCPzXNhzaSUndTChOkQ5+yLkJglXwTaYhXnLYbcyFharAZj+0fEdYvFwqIVX5gYUQa71SBbyu2Hr+2olkID+HHgdkcwm3hpNOYMK6OumrdOyUlg/Yq2T9BT1vXGLg+/Pc7LP4XJbsDs7fp7v41kGS4bjDwQv1pXQzWuX7UUuHwPjvfyoEuSg7uxd7hyrV2S3phR52mqt41d2a96LVWX4mmtJmHYQNdUD6tayXdNFQKX5OEEI8VLXEsrHGRLFVV/w/zD9QLXws6lmMn8G2RmHZg=
Steps to reproduce
to="#target1"
):disabled="true"
)to="#target2"
)When the teleport is re-enabled, the content is still teleported to the old target (#target1) even though the to property of the teleport component has been updated to "#target2"
What is expected?
Changes to the target of the teleport component (the
to
property), even if happened while the teleport is disabled, should still be honored when the teleport is re-enabled.What is actually happening?
Changes to the target of the teleport component (the
to
property) are ignored if they were made while the teleport is disabled.System Info
No response
Any additional comments?
Looks like Vue can indeed handle the teleport target change, but Vue only handles it while the teleport is enabled.
The text was updated successfully, but these errors were encountered: