Skip to content

fix(market): improve mobile market detail gesture and tab switching#10387

Open
limichange wants to merge 1 commit intoxfrom
fix/market-detail-mobile-gesture-swipe
Open

fix(market): improve mobile market detail gesture and tab switching#10387
limichange wants to merge 1 commit intoxfrom
fix/market-detail-mobile-gesture-swipe

Conversation

@limichange
Copy link
Contributor

@limichange limichange commented Feb 27, 2026

Summary

  • Enhance HeaderScrollGestureWrapper with horizontal swipe detection, momentum control, right-edge exclusion zone, and simultaneous native gesture support
  • Add horizontal swipe gesture to switch between information tabs on mobile market detail page
  • Fix iOS back-swipe gesture conflict by limiting gesture response distance to 20pt
  • Fix Portfolio empty state rendering when no account address is connected
  • Fix StickyHeader to use fixed height preventing layout shift
  • Prevent header collapse when pressing the currently active tab

Test plan

  • Verify horizontal swipe switches tabs on iOS market detail page
  • Verify iOS back swipe gesture still works from left edge
  • Verify TradingView chart interaction is not blocked by swipe gestures
  • Verify Portfolio shows empty state correctly when no account
  • Verify vertical scrolling and pull-to-refresh still work
  • Verify tab bar sticky header has consistent height
  • Test on Android to ensure no regressions

Open with Devin

- Enhance HeaderScrollGestureWrapper with horizontal swipe, momentum control, edge exclusion, and simultaneous native gesture support
- Add horizontal swipe gesture to switch between information tabs on mobile
- Fix iOS back gesture conflict by limiting gesture response distance
- Fix Portfolio empty state when no account address
- Fix StickyHeader height to prevent layout shift
- Prevent collapsing header when pressing active tab
@revan-zhang
Copy link
Contributor

revan-zhang commented Feb 27, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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