Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(overview): re render entire overview when comp id changes #7895

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

luvkapur
Copy link
Member

This PR fixes an issue when navigating between components and viewing their Overview Page.
When the component Id changes, the overview iframe mounts and unmounts, but the Component Overview is updated immediately
which leads to the prev iframe being rendered for a few milliseconds before the new one mounts

This PR adds an explicit key to the parent ComponentOverview page which unmounts the entire Overview when the component id changes

@luvkapur luvkapur enabled auto-merge (squash) September 11, 2023 16:02
@luvkapur luvkapur merged commit a45e2ff into master Sep 11, 2023
11 checks passed
@luvkapur luvkapur deleted the overview-switch-between-comp-fix branch September 11, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants