Skip to content

Commit

Permalink
Only disable Slider component on Android
Browse files Browse the repository at this point in the history
On iOS the default disabled style of the Slider already makes it transparent. So, in order to avoid make it too transparent with the Cell's disabled style, we only disable it on Android.
  • Loading branch information
fluiddot committed May 16, 2023
1 parent 059e20f commit e808a49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class BottomSheetRangeCell extends Component {
testID={ `Slider ${ cellProps.label }` }
value={ sliderValue }
defaultValue={ defaultValue }
disabled={ disabled }
disabled={ disabled && ! isIOS }
step={ step }
minimumValue={ minimumValue }
maximumValue={ maximumValue }
Expand Down

0 comments on commit e808a49

Please sign in to comment.