From 74928ddaea54c62a2bbb187168222cfb01bc76ce Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Thu, 12 Jul 2018 09:58:32 +0200 Subject: [PATCH] [ML] Ignore mouse events on pseudo element. (#20668) 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. --- .../new_job/simple/components/fields_selection/styles/main.less | 1 + .../components/fields_selection_population/styles/main.less | 1 + 2 files changed, 2 insertions(+) diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/styles/main.less b/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/styles/main.less index 195023ca6a1db..3892ddacf226e 100644 --- a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/styles/main.less +++ b/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/styles/main.less @@ -57,6 +57,7 @@ border-left: 4px solid transparent; right: 10px; top: 14px; + pointer-events: none; } } } diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/styles/main.less b/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/styles/main.less index d3fcecfd4a672..b2fdbe8a6d1cc 100644 --- a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/styles/main.less +++ b/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/styles/main.less @@ -63,6 +63,7 @@ border-left: 4px solid transparent; right: 43px; top: 14px; + pointer-events: none; } }