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

Unexpected VictoryBrushContainer behaviour when aspect ratio is changed #1460

Closed
4 tasks done
StraightOuttaCrompton opened this issue Dec 17, 2019 · 1 comment
Closed
4 tasks done

Comments

@StraightOuttaCrompton
Copy link

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 have created a chart that changes aspect ratio on browser resize, so that the width changes but the height remains the same. However, there is a problem when using a VictoryBrushContainer where the container seems to not be updated with the new width after resize.

Reproduction

To reproduce the bug, please refer to the repository. It contains instructions in the README as well as a video outlining the problem.

@becca-bailey
Copy link
Contributor

Closing in favor of #2111

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

No branches or pull requests

2 participants