Skip to content
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

v-if within a slot causes "Cannot read property '0' of null" error #2859

Closed
lizaveta-k opened this issue Dec 21, 2020 · 1 comment
Closed

Comments

@lizaveta-k
Copy link

Version

3.0.4

Reproduction link

https://codesandbox.io/s/slotbug-82xf5?file=/src/components/HelloWorld.vue

Steps to reproduce

Click "Toggle bug" button.

What is expected?

Clicking on the button should bring "BUG" word up.

What is actually happening?

Exeption.


It worked correctly in Vue 2.6.11.

@posva
Copy link
Member

posva commented Dec 21, 2020

Duplicate of #2715

@posva posva marked this as a duplicate of #2715 Dec 21, 2020
@posva posva closed this as completed Dec 21, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants