Skip to content

Commit

Permalink
fix: correct elevation in disabled button for MD2 (#4293)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewalczak authored Jan 22, 2024
1 parent 4f1be53 commit 24fcc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const Button = (
compact && styles.compact,
buttonStyle,
style,
!isV3 && { elevation },
!isV3 && !disabled && { elevation },
] as ViewStyle
}
{...(isV3 && { elevation: elevation })}
Expand Down

0 comments on commit 24fcc70

Please sign in to comment.