Skip to content

Cannot control Brush indices #7462

Description

@mxdvl

What is the current behavior?

The controlled indices are reset whenever the chart data changes.

What is the expected behavior?

The controlled indices should stay stable when the chart data changes.

Please provide a demo of the problem in a sandbox

Click the “trigger bug” button and see the brush jump.

Recharts 3.8.1 – note this did not happen in 2.x

This may be related to #2672 and was mentioned in #7361

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions