Skip to content

fix: context menu scrollability#3719

Merged
isekovanic merged 5 commits into
developfrom
fix/context-menu-scrollability
Jul 9, 2026
Merged

fix: context menu scrollability#3719
isekovanic merged 5 commits into
developfrom
fix/context-menu-scrollability

Conversation

@isekovanic

Copy link
Copy Markdown
Contributor

🎯 Goal

This PR adds scrollability to our context menu whenever the space all of the items take up is larger than the current vertical size of the screen.

When he top item + message + bottom item don't fit the usable area, the message becomes scrollable between a pinned reaction picker (top) and a sticky action list (bottom):

  • A Pan gesture drives a scrollY shared value (clamped to the overflow amount), with withDecay momentum on release
  • No clipping so the message renders behind the opaque top/bottom items, so overflow passes behind them instead of being cut off
  • On close, the scroll offset is folded into the close animation so the message animates back from wherever it was scrolled (no snap/rewind), then resets once fully closed.

🛠 Implementation details

🎨 UI Changes

iOS
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@isekovanic isekovanic requested review from oliverlaz and szuperaz July 9, 2026 13:04
@Stream-SDK-Bot

Copy link
Copy Markdown
Contributor

SDK Size

title develop branch diff status
js_bundle_size 1976 KB 1977 KB +1026 B 🔴

@isekovanic isekovanic merged commit eccc660 into develop Jul 9, 2026
9 of 10 checks passed
@isekovanic isekovanic deleted the fix/context-menu-scrollability branch July 9, 2026 13:55
@github-actions github-actions Bot mentioned this pull request Jul 9, 2026
6 tasks
@stream-ci-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 9.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants