Snapshots: Fix issue where off-screen panels are not included in snapshots (#82135)
This commit is contained in:
@@ -340,7 +340,7 @@ export class PanelStateWrapper extends PureComponent<Props, State> {
|
||||
onRefresh = () => {
|
||||
const { dashboard, panel, isInView, width } = this.props;
|
||||
|
||||
if (!isInView) {
|
||||
if (!dashboard.snapshot && !isInView) {
|
||||
panel.refreshWhenInView = true;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user