From ab5943c71d2f52d73f15562251389a4597cefdb1 Mon Sep 17 00:00:00 2001 From: Dima Arnautov Date: Thu, 7 May 2020 12:10:15 +0200 Subject: [PATCH] [ML] Hide selector helper in Anomaly Explorer swimlane (#65522) --- x-pack/plugins/ml/public/application/explorer/_explorer.scss | 4 ++++ x-pack/plugins/ml/public/application/explorer/explorer.js | 1 + 2 files changed, 5 insertions(+) diff --git a/x-pack/plugins/ml/public/application/explorer/_explorer.scss b/x-pack/plugins/ml/public/application/explorer/_explorer.scss index cfcba081983c..a46f35cbd4d2 100644 --- a/x-pack/plugins/ml/public/application/explorer/_explorer.scss +++ b/x-pack/plugins/ml/public/application/explorer/_explorer.scss @@ -1,3 +1,7 @@ +.ml-swimlane-selector { + visibility: hidden; +} + .ml-explorer { width: 100%; display: inline-block; diff --git a/x-pack/plugins/ml/public/application/explorer/explorer.js b/x-pack/plugins/ml/public/application/explorer/explorer.js index 36dac05add55..8fd247981780 100644 --- a/x-pack/plugins/ml/public/application/explorer/explorer.js +++ b/x-pack/plugins/ml/public/application/explorer/explorer.js @@ -120,6 +120,7 @@ export class Explorer extends React.Component { disableDragSelectOnMouseLeave = true; dragSelect = new DragSelect({ + selectorClass: 'ml-swimlane-selector', selectables: document.getElementsByClassName('sl-cell'), callback(elements) { if (elements.length > 1 && !ALLOW_CELL_RANGE_SELECTION) {