Skip to content

Stroke Dash Array is ignored with custom animation setup #3588

Description

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Refresh the view once in the sandbox, notice that the orange line does not have stroke dash array applied.

What is expected?

I expected the stroke dash array to be applied to the orange line.

What is actually happening?

The stroke dash array is not being applied.

Environment Info
Recharts v2.5.0
React react 18.2.0
System macOS Ventura 13.3.1 (a)
Browser Chrome Version 113.0.5672.92 (Official Build) (x86_64)

The point of the custom animation I've implemented is to make the orange line appear after the blue line is finished animating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    animationIssues regarding animationbugGeneral bug label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions