fix(react-ui-core): clamp swipe-back dx to prevent left-drag screen movement#685
fix(react-ui-core): clamp swipe-back dx to prevent left-drag screen movement#685ENvironmentSet merged 2 commits intomainfrom
Conversation
…ovement When a user starts a touch on the left edge and drags left, dx becomes negative and moveActivity was translating the screen to the left. Clamping dx to Math.max(0, ...) ensures only right swipes move the screen, matching native iOS behavior. Closes FEP-1995
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
stackflow-docs | 25690c3 | Commit Preview URL | Mar 13 2026, 07:38 AM |
🦋 Changeset detectedLatest commit: 25690c3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
Disabled knowledge base sources:
📝 WalkthroughSummary by CodeRabbitBug Fixes
WalkthroughA patch release for Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying stackflow-demo with
|
| Latest commit: |
25690c3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7e4555d3.stackflow-demo.pages.dev |
| Branch Preview URL: | https://swipe-back-direction-lock.stackflow-demo.pages.dev |
commit: |
Summary
Math.max(0, ...)clamping todxinonTouchMoveso only rightward drags move the screenCloses FEP-1995
Test plan
yarn testpasses🤖 Generated with Claude Code