Skip to content

Bug: @nivo/funnel - chart animation gets stuck when hovering on parts during animation transition #2804

@alijani-h

Description

@alijani-h

When the data prop of the Funnel chart is updated, the chart begins its transition animation as expected. However, if the user moves their mouse to hover over any part of the chart while this animation is still in progress, the animation freezes and never completes. The chart remains in a partially transitioned state.

The expected behavior is that the hover tooltip should appear, but the transition animation should continue to completion in the background.

Codesandbox: https://codesandbox.io/p/sandbox/zhm8m5

Example:
https://github.com/user-attachments/assets/e52a96a7-c954-4c11-bf29-955e2f0666bf

  • OS: macOS
  • Browser: Chrome
  • Browser version: 141
  • @nivo/funnel version: 0.99.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions