Skip to content

feat: move swipability to full row#3503

Merged
isekovanic merged 3 commits intodevelopfrom
feat/move-swipability-to-full-row
Mar 22, 2026
Merged

feat: move swipability to full row#3503
isekovanic merged 3 commits intodevelopfrom
feat/move-swipability-to-full-row

Conversation

@isekovanic
Copy link
Copy Markdown
Contributor

🎯 Goal

This PR moves swipe-to-reply from the inner MessageBubble to the full MessageItemView, so the entire rendered message row now participates in the swipe interaction instead of only the bubble. The underlying swipe implementation is intentionally unchanged: it keeps the same gesture activation rules, thresholding, haptics, and swipe content behavior.

As part of that change, the old messageContentWidth / setMessageContentWidth measurement path was removed from MessageItemView, MessageBubble and MessageContent, because that state was no longer used by the UI after the swipe boundary moved. This simplifies the message rendering stack and removes an unnecessary layout driven state update/rerender path.

🛠 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

SDK Size

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

@isekovanic isekovanic merged commit 6cf66dd into develop Mar 22, 2026
5 checks passed
@isekovanic isekovanic deleted the feat/move-swipability-to-full-row branch March 22, 2026 01:41
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