Skip to content

LegendEffectOpacity story causes X-Axis to 'blink' #6257

@Bryhn-Bjolgerud

Description

@Bryhn-Bjolgerud

I have recently upgraded from Recharts version 2.x -> 3.1.2. I had a custom legend implementation that was inspired by this storybook example. After upgrading the behaviour has changed.

At first i asumed it had something to do with my custom implementation. But after testing with the exact implementation from the Story, it still happens.

Image

What is the expected behavior?

Image

Please provide a demo of the problem in a sandbox

Image

In your own story in stackblitz it happens.

Browsers

The blinking is most frequent in Google Chrome (i have tested with v.139.0.7258.155). I was rarely able to reproduce it in Firefox, but never in Safari. Didnt test any other browsers.

Metadata

Metadata

Assignees

Labels

animationIssues regarding animationbugGeneral bug label

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions