mattermost-mobile-upstream/app/components/post_list
Sven Hüster 8250ccc4f9
Fix CRT-off consecutive reply bar 1px offset and vertical overlap. (#9932)
* Fix consecutive reply bar horizontal offset when CRT is off

Align the consecutive-post avatar spacer to PROFILE_PICTURE_SIZE so
same-user thread replies no longer shift the reply bar by 1–2px.

* Fix darker seam between consecutive reply bars when CRT is off

Each reply post rendered its own translucent (opacity 0.1) bar meant to
line up seamlessly with neighboring replies in the same thread. At
non-integer device pixel ratios, Yoga rounds each bar's box
independently, so adjacent bars can overlap by a device pixel; two
translucent layers stacked there blend to a visibly darker line. Baking
the blend against centerChannelBg into an opaque color means an
accidental 1px overlap draws the same solid color twice instead of
compounding it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-23 21:52:17 +02:00
..
combined_user_activity Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
date_separator Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
more_messages Multiple Fixes (#9767) 2026-05-19 16:35:20 +08:00
new_message_line Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
post Fix CRT-off consecutive reply bar 1px offset and vertical overlap. (#9932) 2026-07-23 21:52:17 +02:00
thread_overview fix: app bugs surfaced by Detox RF migration (#9789) 2026-06-09 13:25:42 +05:30
config.ts Multiple Fixes (#9767) 2026-05-19 16:35:20 +08:00
index.ts Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
post_list.test.tsx Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
post_list.tsx Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
refresh_control.tsx Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
scroll_to_end_view.tsx Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00