Skip to content

Commit 24fcc70

Browse files
authored
fix: correct elevation in disabled button for MD2 (#4293)
1 parent 4f1be53 commit 24fcc70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ const Button = (
325325
compact && styles.compact,
326326
buttonStyle,
327327
style,
328-
!isV3 && { elevation },
328+
!isV3 && !disabled && { elevation },
329329
] as ViewStyle
330330
}
331331
{...(isV3 && { elevation: elevation })}

0 commit comments

Comments
 (0)