-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Child component attribute updates break when using a transition component inside a teleport component #4161
Comments
This may be related to #4155 |
|
without teleport also has same problem, see playground |
This is a bug specific to It's also not teleport or transition related. Any component that renders default slot can lead to this behavior. |
@yyx990803 Thanks for sorting those out so quickly! That's great! I have a few lingering questions regarding this though. To give you a bit of context, the reason this has become an issue for me is because I have a composition that splits the Previously this worked by using a customRef. After the latest fix I can achieve the same result using an object with getters that point back to the original As far as I am aware it is quite a common use-case to redirect subsets of attributes from higher-order components to different parts of the template. In light of this, I am curious as to the following:
Thanks again for looking into this. |
Version
3.1.5
Reproduction link
SFC Playground Reproduction
Steps to reproduce
What is expected?
The child component should have the
.some-class
class applied to it when used inside a transition in a teleport component.What is actually happening?
The class is not being applied
This was working in v3.1.3 however I can't select v3.1.3 to reproduce a working version in the SFC playground as there appears to be an API change between v3.1.3 and v3.1.5 which breaks the demo.
The text was updated successfully, but these errors were encountered: