From 341a4564170f9665d1a9e07b328385bf21ada8a6 Mon Sep 17 00:00:00 2001 From: thyhjwb6 Date: Mon, 9 Nov 2020 18:37:39 +0000 Subject: [PATCH] fix(Dropdown): Fix label in ie 11 --- .../src/components/Dropdown/Dropdown.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/react-component-library/src/components/Dropdown/Dropdown.tsx b/packages/react-component-library/src/components/Dropdown/Dropdown.tsx index 5919bab58a..9a191101f1 100644 --- a/packages/react-component-library/src/components/Dropdown/Dropdown.tsx +++ b/packages/react-component-library/src/components/Dropdown/Dropdown.tsx @@ -23,6 +23,13 @@ const StyledSelect = styled(Select)` border-color: ${color('neutral', '200')}; } + // ie 11 fix: https://github.com/philipwalton/flexbugs/issues/231#issuecomment-362790042 + .rn-dropdown__control:after { + content: ''; + min-height: inherit; + font-size: 0; + } + .rn-dropdown__placeholder { color: ${color('neutral', '500')}; }