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

nested components rerender issue #9520

Closed
askart opened this issue Feb 18, 2019 · 3 comments
Closed

nested components rerender issue #9520

askart opened this issue Feb 18, 2019 · 3 comments

Comments

@askart
Copy link

askart commented Feb 18, 2019

Version

2.5.22

Reproduction link

https://codesandbox.io/s/pjyj620q97?module=%2Fsrc%2FApp.vue

Steps to reproduce

1st table is troublesome, 2nd table is expected behavior. toggle checkboxes in select (Columns). in 1st table columns from a to e is ok except c. by clicking c1 or c2 or c3 column e will disappear.

What is expected?

if you click c1 then c1 should disappear

What is actually happening?

by clicking c1 disappears e


i've searched and read about HOCs in vue over the internet (github, stackoverflow, forum.vuejs.org, etc.), found nothing that can help solve this issue and decided to create this issue.
got implementation of HOC from #6201 (comment).
I don't know how to implement actual v-if inside render, I've read about it in the documentation render section. But I think the problem is that component renders as component and as a slot inside component.

@yyx990803
Copy link
Member

yyx990803 commented Feb 18, 2019

I'm sorry but your reproduction is far from minimal. We have no context on how you wrote your code, it is simply not practical for us to dig into all these implementation details to figure out what is wrong for you, since the error may be in your code. Please try to strip away anything that is not related and reopen with an actual minimal reproduction.

@askart
Copy link
Author

askart commented Feb 19, 2019

ok

@askart
Copy link
Author

askart commented Feb 19, 2019

I'm sorry but your reproduction is far from minimal. We have no context on how you wrote your code, it is simply not practical for us to dig into all these implementation details to figure out what is wrong for you, since the error may be in your code. Please try to strip away anything that is not related and reopen with an actual minimal reproduction.

#9522 (comment)
added minimal reproduction

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

No branches or pull requests

2 participants