Skip to content

Enable CSS transition for sectors on hover in PieChart with isAnimationActive as true #4216

Description

@beltranrengifo
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  • if isAnimationActive is true, hover any sector, check the fill transition is not applied
  • if isAnimationActive is false, hover any sector, check the fill transition is applied

What is expected?

the fill transition works in both cases

What is actually happening?

the fill transition only works if isAnimationActive is false

Environment Info
Recharts v2.12.1
React 16.14.0
System 14.3 (23D56)
Browser Chrome Version 121.0.6167.184 (Official Build) (arm64)

I posted this in SO as I thought it was not an issue but I got no response so I'm opening this here. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    animationIssues regarding animationbugGeneral bug labelenhancementEnhancement to a current API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions