Skip to content

Commit

Permalink
Reorder props to fix disabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Jul 29, 2022
1 parent 7e7f78f commit 48d9585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/src/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ const SliderComponent = (
return (
<RCTSliderNativeComponent
{...localProps}
accessibilityState={_accessibilityState}
thumbImage={
Platform.OS === 'web'
? props.thumbImage
Expand All @@ -307,7 +308,6 @@ const SliderComponent = (
disabled={_disabled}
onStartShouldSetResponder={() => true}
onResponderTerminationRequest={() => false}
accessibilityState={_accessibilityState}
onRNCSliderAccessibilityAction={onAccessibilityActionEvent}
/>
);
Expand Down

0 comments on commit 48d9585

Please sign in to comment.