Skip to content

fix(runtime-core): KeepAlive/BeseTransition should work with setScopeId + slot #2914

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
wants to merge 3 commits into from

Conversation

edison1105
Copy link
Member

@edison1105 edison1105 commented Dec 30, 2020

close #2892

If slot's parentComponent is KeepAlive or Transition,parentComponent.type.__scopeId is null , but parentComponent.subTree.scopeId has the correct value.

@edison1105 edison1105 changed the title fix(runtime-core): setScopeId work with KeepAlive and Transition fix(runtime-core): setScopeId work with KeepAlive/Transition + slot Dec 30, 2020
@edison1105 edison1105 changed the title fix(runtime-core): setScopeId work with KeepAlive/Transition + slot fix(runtime-core): KeepAlive/BeseTransition should work with setScopeId + slot Dec 30, 2020
@edison1105 edison1105 closed this Feb 3, 2021
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

Successfully merging this pull request may close these issues.

use slotted() in component is not working when use transition element
1 participant