-
-
Notifications
You must be signed in to change notification settings - Fork 818
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
SVG elements (like motion.text) now update when given a MotionValue as children, matching HTML element behavior #2841
base: main
Are you sure you want to change the base?
Conversation
…g both a SVG text and HTML h1 element
… now identical, move logic to DOMVisualElement
@mattgperry The issue is now fixed. I'm happy to provide additional testing or troubleshooting if needed before merging. Quick question about #1877: Was the decision intentional to implement |
delete this.childSubscription | ||
} | ||
|
||
const { children } = this.props |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might still be worth exploring why a children
prop is set on the SVG elements.
Screenshot from example in Chrome macOS: http://localhost:9990/?example=SVG-Text-MotionValue-Child
Hi @mattgperry, what is the process of getting this PR merged? The pipeline succeeds and there are no conflicts with the main branch. Let me know if you are able to review and approve this. Or let me know if there is someone else I should reach out to. Thanks! |
Fixes the issue as described in: #2578
Feature was introduced in: #1877
Changelog:
motion.text
) now update when given aMotionValue
as children, matching HTML element behavior.