Skip to content

fix: online indicator misaligned for 2xl avatar#3678

Merged
szuperaz merged 1 commit into
developfrom
fix-online-indicator-for-avatar
Jun 26, 2026
Merged

fix: online indicator misaligned for 2xl avatar#3678
szuperaz merged 1 commit into
developfrom
fix-online-indicator-for-avatar

Conversation

@szuperaz

Copy link
Copy Markdown
Contributor

🎯 Goal

The online indicator was misaligned for 2xl avatars. The issue was that we used a static offset, not a dynamic computed from avatar and online indicator size.

🛠 Implementation details

Moving from static offset to computed offset affects all avatar sizes with online indicators. The below list contains the changes for other sizes. They're pretty small, but I checked all occurrences, and they still look good:

Screenshot 2026-06-26 at 8 24 43

🎨 UI Changes

Before:
Screenshot 2026-06-26 at 7 52 54
After:
Screenshot 2026-06-26 at 8 16 32

🧪 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

@szuperaz szuperaz requested review from Copilot and isekovanic and removed request for Copilot June 26, 2026 14:39
@Stream-SDK-Bot

Copy link
Copy Markdown
Contributor

SDK Size

title develop branch diff status
js_bundle_size 1960 KB 1960 KB +422 B 🟡

@szuperaz szuperaz merged commit 6c0b195 into develop Jun 26, 2026
11 checks passed
@szuperaz szuperaz deleted the fix-online-indicator-for-avatar branch June 26, 2026 15:33
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.

3 participants