Skip to content

feat: expose dismiss direction interaction#9

Merged
saseungmin merged 1 commit into
mainfrom
feat/dismiss-direction-interaction
Jun 16, 2026
Merged

feat: expose dismiss direction interaction#9
saseungmin merged 1 commit into
mainfrom
feat/dismiss-direction-interaction

Conversation

@saseungmin

Copy link
Copy Markdown
Member

No description provided.

Add a UI-thread dismissDirection shared value.

This separates accepted dismiss side from raw drag direction.

Constraint: Preserve gesture, action, undo, and event semantics.

Rejected: Reuse interaction.direction | live raw signal.

Rejected: Add committedDirection | implies JS commit timing.

Confidence: high

Scope-risk: moderate

Directive: Do not clear dismissDirection inside completeSwipeDismiss.

Tested: yarn lint

Tested: yarn typecheck

Tested: yarn test --runInBand --watchman=false

Tested: yarn format:check

Tested: git diff --check
@changeset-bot

changeset-bot Bot commented Jun 16, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c5dc59e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@react-native-motion-kit/swipe-deck Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@saseungmin saseungmin merged commit da9b96e into main Jun 16, 2026
3 checks passed
@saseungmin saseungmin deleted the feat/dismiss-direction-interaction branch June 16, 2026 03:30
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.

1 participant