From 88b89f777a665d80974815611d58dbd7eb04ac41 Mon Sep 17 00:00:00 2001 From: Filatov Dmitry Date: Tue, 12 Sep 2023 13:50:38 +0300 Subject: [PATCH] fix(Tabs): show focused state if focus-visible only (#1000) --- src/components/Tabs/Tabs.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/Tabs/Tabs.scss b/src/components/Tabs/Tabs.scss index c90ca6e19d..945d9e1d27 100644 --- a/src/components/Tabs/Tabs.scss +++ b/src/components/Tabs/Tabs.scss @@ -86,6 +86,12 @@ $block: '.#{variables.$ns}tabs'; outline: 2px solid var(--g-color-line-focus); } } + + &:focus:not(:focus-visible) { + #{$block}__item-content { + outline: 0; + } + } } &_direction_horizontal {