Skip to content

Improve iPhone sidebar swipe and settling - #321

Merged
tiensonqin merged 1 commit into
mainfrom
codex/ios-sidebar-gesture-settling
Dec 3, 2026
Merged

tiensonqin merged 1 commit into
mainfrom
codex/ios-sidebar-gesture-settling

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Shorten the iPhone sidebar's slide and let it stretch with increasing resistance past the open position.
  • Use swipe distance and release velocity to choose the destination, with a spring that returns the stretched sidebar to rest.
  • Preserve the foreground and background blur and use a soft haptic when the sidebar opens or closes.

Verification

  • iPhone 15, Release build. Exercised slow swipes, short flicks, stretches past the open position, and reversals during settling with two sidebar sizes.
  • iPhone 18 Pro simulator, Release build. The sidebar swipe and horizontal drawer scroll checks passed.

Screen recording

The blue dot marks the drag location. The recording shows opening, stretching past the open position, releasing a short drag, and closing.

logseq-sidebar-gestures.mp4

Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@tiensonqin
tiensonqin merged commit 954e6bc into main Dec 3, 2026
10 checks passed
@tiensonqin
tiensonqin deleted the codex/ios-sidebar-gesture-settling branch December 3, 2026 15:48
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