Skip to content

Commit

Permalink
fix(custom-views): Remove hover effect when tab is selected (#76650)
Browse files Browse the repository at this point in the history
Removes the increased opacity effect on hover for selected tabs
  • Loading branch information
MichaelSun48 authored Aug 28, 2024
1 parent 6e56152 commit 9d84e4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/app/components/tabs/tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ export const BaseTab = forwardRef(
borderStyle={borderStyle}
ref={ref}
>
<VariantStyledInteractionStateLayer hasSelectedBackground={false} />
{!isSelected && (
<VariantStyledInteractionStateLayer hasSelectedBackground={false} />
)}
<FilledFocusLayer />
{props.children}
</FilledTabWrap>
Expand Down

0 comments on commit 9d84e4a

Please sign in to comment.