Skip to content

feat: bottom sheet dynamic resizing#3544

Merged
isekovanic merged 19 commits intodevelopfrom
chore/bottom-sheet-dynamic-resizing
Apr 9, 2026
Merged

feat: bottom sheet dynamic resizing#3544
isekovanic merged 19 commits intodevelopfrom
chore/bottom-sheet-dynamic-resizing

Conversation

@isekovanic
Copy link
Copy Markdown
Contributor

🎯 Goal

This PR refines dynamic bottom sheet sizing and cleans up a few related UI issues in the SDK and SampleApp.

  • Adds content driven initial sizing to BottomSheetModal while keeping the top snap available (this is toggleable by a flag and will assume height as the maximum height the sheet can grow to through dynamic sizing)
  • Moves dynamic sizing calculations to shared values
  • Adds test coverage for the new bottom sheet snap point utilities
  • Fixes channel preview spacing for very long channel names
  • Hides quoted replies for attachment action previews such as ephemeral Giphys
  • Preserves the correct standalone message shell styling for ephemeral Giphy previews
  • Moves hasAttachmentActions into MessageContext so it is computed once and reused downstream

On the SampleApp side, it fixes a few visual inconsistencies:

  • network/loading and DM button backgrounds now match the header
  • grouped ChannelAvatar now respects the requested size
  • group channel details now actually request 2xl
  • GoBack and GoForward chevrons now mirror internally in RTL as an SVG PoC

🛠 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

@Stream-SDK-Bot
Copy link
Copy Markdown
Contributor

Stream-SDK-Bot commented Apr 9, 2026

SDK Size

title develop branch diff status
js_bundle_size 351 KB 351 KB 0 B 🟢

@isekovanic isekovanic requested review from oliverlaz and szuperaz April 9, 2026 13:20
@isekovanic isekovanic merged commit 7a7f927 into develop Apr 9, 2026
5 checks passed
@isekovanic isekovanic deleted the chore/bottom-sheet-dynamic-resizing branch April 9, 2026 14: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.

2 participants