The template ref was not set to null correctly after the conditional rendering was updated #12898
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
Vue version
3.5.13
Link to minimal reproduction
https://play.vuejs.org/#eNp9Ustu2zAQ/JUtD5EMCDJStxfXCdAWObRAH0h9q4KAkFYyE4oUSEpxYOjfs6QkWwmSXGxxZ2Z39nFgX5sm7Vpka7axuRGNA4uubS4zJepGGwcH2CVgsExAq1+6VQ6LBAoshcLvmigKlUtA4d5tRX4PPZRG1xBRzihTmcq1sg62SD8XL2XxIVMw1IsXEB4Ag6CUvCIB1Y2daXHxZQ6ixJrk11iOFA8PhKPHmNtHlQPlvbicUkNIm3ZctkjKkkuLY2IA/sCFO/YRUg6Ar6klplJX8anykGVi9ScHhtox6mXhMfp/ej+zcnYGuzgqRBclNG5qaD1vsU/AY+fRIjmpP7wlH9kfZ+ybyWT47yke7G6Ww8Jp1fRwWDeSO6QXwCbsa0nfm+UMYAlzlsZRiiq9s1rR0YQGM5bTSoVE86dxgsaVsfXUesa4lPrhZ4j5VY62SLPD/P6V+J3d+1jG/hq0aDrM2BFz3FToBvjq329a1gysddFKYr8DXiOtsvUeB9q3VhVke8YLbn+E0xeq2tqrvUNlp6a80WmInk1X7q/5rdZPdlfpp6Cj2dMUbzs0PicNcJV+Ts9XrH8CvcIf9Q==
Steps to reproduce
What is expected?
The final value of elementRef is null
What is actually happening?
The final value of elementRef is div2
System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: