-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Black screen on sankey and heatmaps #7058
Comments
it seems to happen only in production mode. I can't reproduce it on development mode. |
That's so weird. It also looks like the heatmap canvas is not rendering in the right spot. |
@kristw @williaster any idea where this could be coming from? Could it be related to missing CSS when packaging the legacy vises? |
From screenshot it looks like css |
Yes @kristw , but any idea how/why the CSS would be different on |
@kristw @williaster I'd love to get input and any intuition you may have on the webpack intricacies that may be at play here before I dive into this one. |
There's a switch statement for css loading in |
Let me see if I can reproduce. |
I am looking at it. There are some issues with importing css from the package. |
One short-term remedy is to point to the import CalendarChartPlugin from '../../../../superset-ui-legacy-plugin-chart-calendar/lib'; instead of import CalendarChartPlugin from '../../../../superset-ui-legacy-plugin-chart-calendar'; I may drop the |
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.99dev, commit guid 07c340c
Expected results
The heatmap and sankey charts render correctly.
Actual results
The heatmaps show black in many places, including covering the entire screen in the second screenshot. The sankey's lines connecting the axes are black.
(Apologies about the blurring effect in both screenshots; I am trying to protect sensitive information.)
Steps to reproduce
Open a dashboard that has the sankey or heatmap defined.
The text was updated successfully, but these errors were encountered: