New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect reference count for default slot #932
Comments
Related #934 |
@johnsoncodehk v0.32.1 doesn't seem to fix this issue. Can this be re-opened? |
@peteringram0 it's fixed for me, could you provide repro case? |
Hi @johnsoncodehk I'm facing the same issue using Volar v0.33.2. For reproduction I used the same example @ilyub posted initially: When replacing the divs inside the parent with template tags with the v-slot attribute "default" the count changes to 1 like it should. |
Hi, same here. Still the same bug, could anyone else confirm it? |
@regurgitate Which version are you using? |
v1.8.4 |
Volar shows "1 reference" (correct) in this scenario:
But it shows "0 references" (incorrect) in this scenario:
This is not right.
Default slot is used once in both of the above scenarios.
Here is the only scenario when default slot is not used:
The text was updated successfully, but these errors were encountered: