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

_scopeId lost for child components with falsy v-if on root elements #4774

Closed
kazupon opened this issue Jan 23, 2017 · 0 comments
Closed

_scopeId lost for child components with falsy v-if on root elements #4774

kazupon opened this issue Jan 23, 2017 · 0 comments
Assignees
Labels

Comments

@kazupon
Copy link
Member

kazupon commented Jan 23, 2017

Vue.js version

2.2.10

Reproduction Link

http://jsfiddle.net/su5aLp3a/21/

Steps to reproduce

  1. uncheck show child checkbox
  2. check show child checkbox

What is Expected?

expect parent _scopeId and child _scopeId into root element on child component (in repro code, data-v-00001 and data-v-00002)

What is actually happening?

lost parent _scopeId from root element on child component (in repro code, data-v-00002 only)

Related issue

See vuejs/vue-loader#576

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