fix: Enable -webkit-scrollbar related css when there's no overlay scrollbar #14807

This commit is contained in:
Johannes Schill
2019-01-23 14:57:19 +01:00
parent c7b556c0e4
commit 45fc9c1860
3 changed files with 114 additions and 73 deletions

View File

@@ -19,6 +19,7 @@ import angular from 'angular';
import config from 'app/core/config';
import _ from 'lodash';
import moment from 'moment';
import { addClassIfNoOverlayScrollbar } from 'app/core/utils/scrollbar';
// add move to lodash for backward compatabiltiy
_.move = (array, fromIndex, toIndex) => {
@@ -45,6 +46,7 @@ export class GrafanaApp {
preBootModules: any[];
constructor() {
addClassIfNoOverlayScrollbar('no-overlay-scrollbar');
this.preBootModules = [];
this.registerFunctions = {};
this.ngModuleDependencies = [];