Skip to content

Commit

Permalink
[ML] Hide selector helper in Anomaly Explorer swimlane (elastic#65522)
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed May 7, 2020
1 parent a755c2e commit d3a0332
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x-pack/plugins/ml/public/application/explorer/_explorer.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.ml-swimlane-selector {
visibility: hidden;
}

.ml-explorer {
width: 100%;
display: inline-block;
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/ml/public/application/explorer/explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d3a0332

Please sign in to comment.