From e808a49786ac144c6bb4880b1a981485e261a1e1 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Tue, 16 May 2023 20:03:01 +0200 Subject: [PATCH] Only disable Slider component on Android 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. --- .../components/src/mobile/bottom-sheet/range-cell.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/mobile/bottom-sheet/range-cell.native.js b/packages/components/src/mobile/bottom-sheet/range-cell.native.js index c56b38dc0192f6..592acbd6810b51 100644 --- a/packages/components/src/mobile/bottom-sheet/range-cell.native.js +++ b/packages/components/src/mobile/bottom-sheet/range-cell.native.js @@ -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 }