Skip to content

Commit 44c2552

Browse files
committed
Hint - Android - fix shadow issue
1 parent 14f43f0 commit 44c2552

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/hint/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ class Hint extends Component<HintProps, HintState> {
462462
customContent,
463463
removePaddings,
464464
enableShadow,
465+
visible,
465466
testID
466467
} = this.props;
467468

@@ -473,7 +474,7 @@ class Hint extends Component<HintProps, HintState> {
473474
style={[
474475
styles.hint,
475476
!removePaddings && styles.hintPaddings,
476-
enableShadow && styles.containerShadow,
477+
visible && enableShadow && styles.containerShadow,
477478
color && {backgroundColor: color},
478479
!_.isUndefined(borderRadius) && {borderRadius}
479480
]}

0 commit comments

Comments
 (0)