From 0eb2e684c1f00751399db8a03e64c8e3b252abf8 Mon Sep 17 00:00:00 2001 From: Bala Date: Sat, 25 May 2019 13:59:33 +0530 Subject: [PATCH 1/2] Fix for HTMLSelect doesn't work correctly inside a ControlGroup in Firefox #3554 --- packages/core/src/components/forms/_control-group.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/core/src/components/forms/_control-group.scss b/packages/core/src/components/forms/_control-group.scss index c530ee8e56..918eb3245e 100644 --- a/packages/core/src/components/forms/_control-group.scss +++ b/packages/core/src/components/forms/_control-group.scss @@ -106,7 +106,6 @@ Styleguide control-group &:focus { // establish new stacking context so focus state covers neighbors - position: relative; z-index: index($control-group-stack, "button-focus"); } From bea52f2cdf062a2eebb5157db79ab9cc02f5430b Mon Sep 17 00:00:00 2001 From: ibk6 Date: Thu, 30 May 2019 07:05:12 +0530 Subject: [PATCH 2/2] transform to create new stacking context --- packages/core/src/components/forms/_control-group.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/forms/_control-group.scss b/packages/core/src/components/forms/_control-group.scss index 918eb3245e..2fffba6e90 100644 --- a/packages/core/src/components/forms/_control-group.scss +++ b/packages/core/src/components/forms/_control-group.scss @@ -100,12 +100,12 @@ Styleguide control-group .#{$ns}-button, .#{$ns}-html-select select, .#{$ns}-select select { + @include new-render-layer(); z-index: index($control-group-stack, "button-default"); // inherit radius since it's most likely to be zero border-radius: inherit; &:focus { - // establish new stacking context so focus state covers neighbors z-index: index($control-group-stack, "button-focus"); }