Skip to content

Commit

Permalink
Merge pull request #36573 from paultsimura/fix/36506-step-cursor
Browse files Browse the repository at this point in the history
fix: Set cursor to default when the steps are non-clickable
  • Loading branch information
mountiny authored Feb 15, 2024
2 parents 3870287 + 1e75a57 commit f8f093b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/InteractiveStepSubHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function InteractiveStepSubHeader({stepNames, startStepIndex = 0, onStepSelected
styles.interactiveStepHeaderStepButton,
isLockedStep && styles.interactiveStepHeaderLockedStepButton,
isCompletedStep && styles.interactiveStepHeaderCompletedStepButton,
!onStepSelected && styles.cursorDefault,
]}
disabled={isLockedStep || !onStepSelected}
onPress={moveToStep}
Expand Down

0 comments on commit f8f093b

Please sign in to comment.