Skip to content

Fix IndexBreakdown fade-in animation#6414

Open
RobertJoonas wants to merge 1 commit into
masterfrom
index-breakdown-fade-in
Open

Fix IndexBreakdown fade-in animation#6414
RobertJoonas wants to merge 1 commit into
masterfrom
index-breakdown-fade-in

Conversation

@RobertJoonas
Copy link
Copy Markdown
Contributor

Changes

The fade-in animation was intended from the start of the v2 FE migration. It used to work for pages until #6395 broke it. This was due to switching to a single component that doesn't get re-mounted.

This PR fixes that by giving a unique React key for the currently displayed query in each IndexBreakdownRenderer call, forcing the component to re-mount.

Tests

  • This PR does not require tests

Changelog

  • This PR does not make a user-facing change

Documentation

  • This change does not need a documentation update

Dark mode

  • This PR does not change the UI

@github-actions
Copy link
Copy Markdown

Preview environment👷🏼‍♀️🏗️
PR-6414

@RobertJoonas RobertJoonas requested a review from Copilot May 28, 2026 15:47
@RobertJoonas RobertJoonas requested review from apata and removed request for Copilot May 28, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant