From 9c990a5a53dc898798b375f1cec238c37eed8115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dabiel=20Gonz=C3=A1lez=20Ramos?= Date: Thu, 20 Jul 2023 09:43:49 +0300 Subject: [PATCH] fix(input): reset focus custom properties for the clear button --- packages/bee-q/src/components/input/scss/bq-input.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/bee-q/src/components/input/scss/bq-input.scss b/packages/bee-q/src/components/input/scss/bq-input.scss index f832f27b7..66e9276ac 100644 --- a/packages/bee-q/src/components/input/scss/bq-input.scss +++ b/packages/bee-q/src/components/input/scss/bq-input.scss @@ -118,6 +118,12 @@ /* -------------------------------------------------------------------------- */ .bq-input--control__clear::part(button) { + // Since the clear button is inside the input group control, + // we need to reset the focus ring styles + --bq-ring-width: initial; + --bq-ring-offset-width: initial; + --bq-ring-color-focus: initial; + @apply h-auto rounded-xs border-none p-0; }