FormidableLabs / FormidableLabs/victory

'active' variable in style for VictoryBar no longer works as expected

Open
#2,861 9 comments 0 reactions 0 assignees View on GitHub
Issue: Accepted Type: Bug :bug:
Dominant language
TypeScript
Stars
11.2k
Forks
536
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

### Victory version

37.0.2

### Code Sandbox link

_No response_

### Bug report

```markdown

active ? '#3A7DC0' : '#CCD2D9',
},
}}
data={chartData.transactionCountData}
y={(datum) => datum.y}
/>
```

### Steps to reproduce

```markdown
1. Open screen with VictoryBar chart
2. Click on one of the bars
```

### Expected behavior

```markdown
The selected bar color should change to #3A7DC0
```

### Actual behavior

```markdown
The selected bar no longer changes color
```

### Environment

```markdown
- Device:
- OS:
- Node:
- npm:
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.