Teleport children don't trigger unmounted hook when teleport is disabled #7821
Labels
has PR
A pull request has already been submitted to solve the issue
🐞 bug
Something isn't working
scope: teleport
Vue version
v3.2.47
Link to minimal reproduction
https://sfc.vuejs.org/#eNqVUk2PmzAQ/SsjLiRqAO22UqU0iVL13FPVG5cEJkDXeCzbkK4Q/71j85GESpH2hmfevPfmDV3wXam4bTDYBjuLtRIni4dUAuzKl0PXQW0K6Ptdwi+u7vKqhTaqLvs0sFQUAtPAo4GHBSrSFvLKnM4CcwfRDQPg2ErKMWpkTY20vjN+r8J5DFuUNlwz3BIDzpS/T9zMnlGtnvJ4gOeAF8+SzLPsefr+INPrgimZqXxCyWR+CGzuuqDE6YxiwJqSruBYPaqSqrFg3xWyaFZi9namv6zSRjVbEstgd8nE5OTm+/DTZLpSFgzaRjloVfscvf2LphrCOPnBD3fd8NbvNF76ETB0MpLG+kPvIfyFCDm2lkgY5pKGxA0zOGMYc6zccdffUnlpZGYrkjAleC1p3Tnv43gsqFiFY3dUhk/gYKns3WLDKodgE0yGF7/jfMMShaD7tB9SWWYyrUzy53Bn2JD8PR39MQWAGbVarWF/gO5xAR/sOBquoWfzbmamezLld7+N3S88WIzqk4r/GJK8t48uHRsmDbbgK67GTt07DUprldkmSSPVWxGzRnLkXqLZSFVjlFN9/By/xl++ckrG3tdjNHV01nQ1qFkxDTZ35AkXW9SRRpmjRv1UbIF9EFz0/hN1mnz5Puj/Aawwip4=
Steps to reproduce
Use
<teleport>
component and add some components to it. Set thedisabled
attribute totrue
.What is expected?
The child components should trigger the unmounted hook.
What is actually happening?
The child components don't trigger unmounted hook.
When the disabled attribute is set to
false
the events trigger as expected.System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: