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

Motion Values passed via SVG style tag not updating on style #123

Closed
mattgperry opened this issue Mar 20, 2025 · 1 comment · Fixed by #124
Closed

Motion Values passed via SVG style tag not updating on style #123

mattgperry opened this issue Mar 20, 2025 · 1 comment · Fixed by #124

Comments

@mattgperry
Copy link
Collaborator

1. Describe the bug
If you check the vue/hold-to-confirm example in the Motion Examples repo, we have added opacity: circleOpacity. This motion value does get applied to style on mount but doesn't seem to update when the motion value changes. Because of a pre-existing bug in the renderSVG function it does get updated on the attribute though.

@rick-hup
Copy link
Collaborator

@mattgperry I think i should remove it from the style attribute and handle it like motion/react does.

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 a pull request may close this issue.

2 participants