Skip to content

Commit a878bbd

Browse files
authored
[ML] Ignore mouse events on pseudo element. (#20668) (#20706)
The pseudo-element agg-type-select-wrapper::after which represents the dropdown's arrow didn't react to the click element of the dropdown itself. pointer-events: none is now added to the pseudo-elements to let the click pass through to the element intented to react on the click.
1 parent b77a3a0 commit a878bbd

File tree

2 files changed

+2
-0
lines changed
  • x-pack/plugins/ml/public/jobs/new_job/simple/components

2 files changed

+2
-0
lines changed

x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/styles/main.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
border-left: 4px solid transparent;
5858
right: 10px;
5959
top: 14px;
60+
pointer-events: none;
6061
}
6162
}
6263
}

x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/styles/main.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
border-left: 4px solid transparent;
6464
right: 43px;
6565
top: 14px;
66+
pointer-events: none;
6667
}
6768
}
6869

0 commit comments

Comments
 (0)