Skip to content

Conversation

@mikolajwilczek
Copy link

Fixes #743

Summary:

  • Fix step marker alignment on web platform edges
  • Pass thumbSize prop to StepsIndicator component
  • Use actual thumbSize value instead of hardcoded constant
  • Add WebProps type for proper TypeScript typing

Test Plan:

  • Verified the change only affects the web platform - native platforms (iOS/Android) remain unchanged
  • Added web example with step numbers to demonstrate the fix
  • Tested step marker alignment at left edge, center, and right edge positions - all markers now align correctly with thumb positions
  • Tested with default and custom thumbSize values on web - alignment works correctly when thumbSize is smaller than the gap between steps
  • Regression tested on iOS, Android, and web (Safari and Chrome) - all existing examples continue to work
Screenshot 2025-12-18 at 20 12 13

- Pass thumbSize prop to StepsIndicator component
- Use actual thumbSize value instead of hardcoded constant
- Add WebProps type for proper TypeScript typing
- Fix step marker alignment on web platform edges

Fixes callstack#743
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web: Step markers don't align with thumb positions

1 participant