From 1e6f23ce922b0310bda5a4a9cf9ebd4ae6881f0c Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 15 Nov 2015 14:09:12 -0800 Subject: [PATCH] Fix #17001 in v4 Refs #18253 [skip sauce] --- scss/_input-group.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scss/_input-group.scss b/scss/_input-group.scss index 3b4ef632cb..ad09d28a89 100644 --- a/scss/_input-group.scss +++ b/scss/_input-group.scss @@ -19,6 +19,10 @@ // proper border colors. position: relative; z-index: 2; + // Bring the "active" form control to the front + @include hover-focus-active { + z-index: 3; + } @if $enable-flex { flex: 1; } @else { @@ -160,7 +164,7 @@ } // Bring the "active" button to the front @include hover-focus-active { - z-index: 2; + z-index: 3; } } @@ -176,6 +180,10 @@ > .btn-group { z-index: 2; margin-left: -1px; + // Because specificity + @include hover-focus-active { + z-index: 3; + } } } }