You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to Exploratory tab and toggle(expand/collapse) the dashboard filter.
Switch back again to Sales Overview tab.
Expected results
Total revenue chart should be resized based on modified size.
Actual results
Total revenue chart was not resized with modified size. This issue occurs for all charts.
Screenshots
Environment
browser type and version: Chrome
superset version: Latest source from GitHub
Checklist
[*] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[*] I have reproduced the issue with at least the latest released version of superset.
[*] I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
shouldComponentUpdate returns false in superset-frontend/src/dashboard/components/gridComponents/Chart.jsx while tab switch. Following condition was not met,
if (
nextProps.width !== this.props.width ||
nextProps.height !== this.props.height
) {
clearTimeout(this.resizeTimeout);
this.resizeTimeout = setTimeout(this.resize, RESIZE_TIMEOUT);
}
The text was updated successfully, but these errors were encountered:
How to reproduce the bug
Expected results
Total revenue chart should be resized based on modified size.
Actual results
Total revenue chart was not resized with modified size. This issue occurs for all charts.
Screenshots
Environment
Checklist
Additional context
shouldComponentUpdate returns false in superset-frontend/src/dashboard/components/gridComponents/Chart.jsx while tab switch. Following condition was not met,
if (
nextProps.width !== this.props.width ||
nextProps.height !== this.props.height
) {
clearTimeout(this.resizeTimeout);
this.resizeTimeout = setTimeout(this.resize, RESIZE_TIMEOUT);
}
The text was updated successfully, but these errors were encountered: