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

clipWidth warning if I specify groupComponent as <g /> on an animated victory area #1290

Open
4 tasks done
madmed88 opened this issue Apr 10, 2019 · 1 comment
Open
4 tasks done
Labels
Issue: Accepted The submitted issue has been confirmed by the Victory core team Type: Bug 🐛 Oh no! A bug or unintentional behavior

Comments

@madmed88
Copy link

madmed88 commented Apr 10, 2019

Bugs and Questions

Checklist

  • This is not a victory-native specific issue. (Issues that only appear in victory-native should be opened here)

  • I have read through the FAQ and Guides before asking a question

  • I am using the latest version of Victory

  • I've searched open issues to make sure I'm not opening a duplicate issue

The Problem

I get this warning on the console if I specify an animation duration and groupComponent g on a victory area.

React does not recognize the clipWidth prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase clipwidth instead. If you accidentally passed it from a parent component, remove it from the DOM element.

I am using g as a groupComponent because I don't want it to be clipped.

Reproduction

https://codesandbox.io/s/3xw6wn4rwq

@boygirl
Copy link
Contributor

boygirl commented May 6, 2019

Thanks for the reproduction!

@boygirl boygirl added Type: Bug 🐛 Oh no! A bug or unintentional behavior verified labels May 6, 2019
@carbonrobot carbonrobot added the Issue: Accepted The submitted issue has been confirmed by the Victory core team label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Accepted The submitted issue has been confirmed by the Victory core team Type: Bug 🐛 Oh no! A bug or unintentional behavior
Projects
None yet
Development

No branches or pull requests

4 participants