From 5f0c292387d64b48806f2388d5f0d318ffe43dea Mon Sep 17 00:00:00 2001 From: TAY TS Date: Thu, 30 Jul 2020 10:54:37 +0800 Subject: [PATCH 1/3] Removed 'pointer-events:none' for EuiButton&EuiButtonEmpty --- src/components/button/_button.scss | 1 - src/components/button/button_empty/_button_empty.scss | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/button/_button.scss b/src/components/button/_button.scss index d77c41f9db6..ea7f3a05b91 100644 --- a/src/components/button/_button.scss +++ b/src/components/button/_button.scss @@ -40,7 +40,6 @@ color: $euiButtonColorDisabledText; border-color: $euiButtonColorDisabled; - pointer-events: none; &.euiButton--fill { // Only increase the contrast of background color to text to 2.0 for disabled diff --git a/src/components/button/button_empty/_button_empty.scss b/src/components/button/button_empty/_button_empty.scss index 79d9b9d8f9c..96e9dc83cd9 100644 --- a/src/components/button/button_empty/_button_empty.scss +++ b/src/components/button/button_empty/_button_empty.scss @@ -37,7 +37,6 @@ @include euiButtonContentDisabled; color: $euiButtonColorDisabledText; - pointer-events: none; &:focus { background-color: transparent; From 14995e6696f82550e3dd1cfcc6fc3f018717ec7d Mon Sep 17 00:00:00 2001 From: TAY TS Date: Thu, 30 Jul 2020 11:07:59 +0800 Subject: [PATCH 2/3] Updated CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31601ff04c6..c9bc19ff2f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ **Bug fixes** - Fixed bug in all input fields placeholders in Safari that weren't vertically centered ([#3809](https://github.com/elastic/eui/pull/3809)) +- Removed `pointer-events: none` in both `EuiButton` & `EuiButtonEmpty` to not override the `pointer-events: auto` in the button mixin `euiButtonContentDisabled` ([#3824](https://github.com/elastic/eui/pull/3824)) ## [`27.3.0`](https://github.com/elastic/eui/tree/v27.3.0) From 4107a6539fbe3594c6c33d4ada36f3f693204160 Mon Sep 17 00:00:00 2001 From: TAY TS Date: Thu, 30 Jul 2020 16:06:57 +0800 Subject: [PATCH 3/3] Removed whitespace in CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9bc19ff2f6..b4656a0b0a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ ## [`master`](https://github.com/elastic/eui/tree/master) - + **Bug fixes** - Fixed bug in all input fields placeholders in Safari that weren't vertically centered ([#3809](https://github.com/elastic/eui/pull/3809)) @@ -11,7 +11,7 @@ - Updated lodash to `v4.17.19` ([#3764](https://github.com/elastic/eui/pull/3764)) - Added `returnKey` glyph to `EuiIcon` ([#3783](https://github.com/elastic/eui/pull/3783)) - Added `type` prop to `EuiFieldPassword` to support toggling of obfuscation ([#3751](https://github.com/elastic/eui/pull/3751)) - + **Bug fixes** - Fixed bug in `EuiDataGrid` not calculating the width correctly ([#3789](https://github.com/elastic/eui/pull/3789))