Skip to content

feat: add camera zoom dial - #2

Merged
ngocdevv merged 1 commit into
masterfrom
codex/feat-camera-zoom-dial
Sep 4, 2026
Merged

feat: add camera zoom dial#2
ngocdevv merged 1 commit into
masterfrom
codex/feat-camera-zoom-dial

Conversation

@gooddev97

Copy link
Copy Markdown
Collaborator

Summary

  • Add a public CameraZoomDial and CameraZoomStop API with controlled and uncontrolled zoom and expansion state.
  • Add a logarithmic camera-style wheel, compact zoom stops, touch-and-hold drag interaction, snapping, accessible actions, example usage, and public documentation.
  • Normalize ranges, steps, and custom stops consistently, preserve hard endpoints, and cover the camera zoom math with regression tests.

Verification

  • bun run lint
  • bun run typecheck
  • bun run test (38 tests pass)
  • bun run build
  • bun run pack:check
  • Real-device release-build feel check when gesture or animation behavior changed

Additional verification: 100,000 randomized range/format/stop-normalization invariants passed.

Compatibility

  • Platform(s): iOS and Android
  • React Native version: 0.86.3 in the example app; public peer range >=0.81.0 <0.87
  • Expo version or bare React Native: Expo SDK 57
  • Dial Slider/Reanimated/Worklets/Gesture Handler/SVG/Linear Gradient versions: 0.1.0 / 4.5.1 / 0.10.1 / 2.32.x / 15.15.4 / 57.0.1

Contributor checklist

  • I added or updated regression tests for behavior changes and bug fixes.
  • I updated public API documentation and examples where needed.
  • I kept generated lib output out of the commit.
  • I did not include secrets, credentials, or private user data.
  • No breaking change or migration is required.

@ngocdevv ngocdevv left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved after successful automated verification.

@ngocdevv
ngocdevv merged commit 57b7169 into master Sep 4, 2026
1 check passed
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.

2 participants