diff --git a/public/app/features/dashboard/viewStateSrv.js b/public/app/features/dashboard/viewStateSrv.js index 08f651f8d5b..ef7669e387c 100644 --- a/public/app/features/dashboard/viewStateSrv.js +++ b/public/app/features/dashboard/viewStateSrv.js @@ -125,6 +125,8 @@ function (angular, _, $) { }; DashboardViewState.prototype.enterFullscreen = function(panelScope) { + this.$scope.appEvent('hide-dash-editor'); + var docHeight = $(window).height(); var editHeight = Math.floor(docHeight * 0.3); var fullscreenHeight = Math.floor(docHeight * 0.7);