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

ui: Flamegraph - passing width from the parent instead of detecting from within #3736

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

manojVivek
Copy link
Contributor

Detecting the width form within the component is creating a flaky situation where the ref.current might not be populated based on whether the child component has rendered or not, that was making the width to undefined sometimes causing the flame graph not visible.

So, this fix passed the width from the parent component so that we can be well sure that the ref is already populated.

@alwaysmeticulous
Copy link

alwaysmeticulous bot commented Sep 1, 2023

🤖 Meticulous spotted visual differences in 84 of 265 screens tested: view and approve differences detected.

Last updated for commit 298afa3. This comment will update as new commits are pushed.

Copy link
Contributor

@monicawoj monicawoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

@manojVivek manojVivek merged commit 6d9b92f into main Sep 1, 2023
28 of 29 checks passed
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.

3 participants