-
Notifications
You must be signed in to change notification settings - Fork 525
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
'active' variable in style for VictoryBar no longer works as expected #2861
Comments
I noticed it too. This worked in 36.9.2 |
The Here is an example codesandbox of using events to target data elements. Relevant code pasted below.
|
@carbonrobot Unfortunately this example doesn't solve the problem for me. Any reason why the active property was working in an earlier release but no longer working now? |
I went back and tried all versions back to 36.6.0 and was unable to reproduce the expected behavior. Here is a codesandbox pinned to 36.9.2 if someone wants to try to reproduce the problem. |
@carbonrobot I have downgraded to 36.9.2 and the active events are all working as expected without needing to add a custom In Image 1, expected behavior is when a custom SVG point (ActiveScatterPoint) is made visible on a VictoryScatter chart when the user finger swipes over the chart. Code is as follows:
Image 2 is the issue I described above in which the expected behavior is where the corresponding bar gets highlighted when user swipes over that bar and it becomes 'active' . |
Thanks, that's more information that is helpful. The tooltip elements add events to the base container. |
@carbonrobot Is this issue still being worked on? |
@nateguy We don't have anyone actively working on this one yet, but we welcome any contributions from the community. |
@nateguy I couldn't recreate the issue even after cloning older versions of Victory repos. Using First example in https://commerce.nearform.com/open-source/victory/docs/victory-selection-container is one of the scenario where Could you please provide a sandbox using Victory v36.9.2 where it is working fine ? |
Is there an existing issue for this?
Code of Conduct
Victory version
37.0.2
Code Sandbox link
No response
Bug report
Steps to reproduce
Expected behavior
Actual behavior
Environment
The text was updated successfully, but these errors were encountered: