Skip to content

BarStack conflicts with activeBar #6890

Description

@AurelienDud

Hello everybody,

What is the current behavior?

When the activeBar props is used on a Bar component wrapped by a BarStack, the radius style is lost when the user hovers the bar.

Image

What is the expected behavior?

The radius defined on the BarStack must be preserved.

Please provide a demo of the problem in a sandbox

Demo based on an official Recharts example. I just added a BarStack.

Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?

  • recharts: 3.6.0
  • Chrome: 142
  • Ubuntu 22

Thanks!

Metadata

Metadata

Assignees

Labels

bugGeneral bug label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions