Skip to content

Wrapper.isEmpty() returns false even when only child has v-if="false" #471

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

Closed
jonboiser opened this issue Mar 14, 2018 · 0 comments
Closed
Labels

Comments

@jonboiser
Copy link

jonboiser commented Mar 14, 2018

Version

1.0.0-beta.12

Reproduction link

https://jsfiddle.net/71nkscL4/10/

Steps to reproduce

  1. Mount a component with a subtree similar to <component1><component2 v-if="false" /></component1>
  2. Select component1 and call its Component1Wrapper.isEmpty() method.

What is expected?

Component1Wrapper.isEmpty() equals true

What is actually happening?

Component1Wrapper.isEmpty() equals false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants