diff --git a/public/app/core/components/grafana_app.ts b/public/app/core/components/grafana_app.ts index c00b7b2181b..13c7f48de3e 100644 --- a/public/app/core/components/grafana_app.ts +++ b/public/app/core/components/grafana_app.ts @@ -167,6 +167,8 @@ export function grafanaAppDirective(playlistSrv, contextSrv, $timeout, $rootScop // mouse and keyboard is user activity body.mousemove(userActivityDetected); body.keydown(userActivityDetected); + // set useCapture = true to catch event here + document.addEventListener('wheel', userActivityDetected, true); // treat tab change as activity document.addEventListener('visibilitychange', userActivityDetected);