-
Notifications
You must be signed in to change notification settings - Fork 0
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
Mutation over time grid doesn't show numbers when switching tabs #517
Comments
The problem is the following: We use this function to compute whether to show the proportion number or not: dashboard-components/components/src/preact/mutationsOverTime/mutations-over-time-grid.tsx Lines 90 to 113 in 8132797
When the tab is not visible, then |
…when switching tabs Making use of @container rules https://developer.mozilla.org/en-US/docs/Web/CSS/@container resolves #517
…when switching tabs Making use of @container rules https://developer.mozilla.org/en-US/docs/Web/CSS/@container resolves #517
…when switching tabs Making use of @container rules https://developer.mozilla.org/en-US/docs/Web/CSS/@container resolves #517
In my PR for the wastewater mutations over time plot (#504), I'm reusing the existing mutations over time grid and am observing a bug where the proportion numbers don't display initially when switching the tab but become visible if we change the size of the window:
https://dashboard-components-git-wastewater-mutations-cov-spectrum.vercel.app/?path=/story/visualization-wastewater-mutations-over-time--default
Screen.Recording.2024-11-15.at.16.52.18.mov
The text was updated successfully, but these errors were encountered: