mattermost-mobile-upstream/app/components/post_list/post
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
..
avatar Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
body Fix CRT-off consecutive reply bar 1px offset and vertical overlap. (#9932) 2026-07-23 21:52:17 +02:00
burn_on_read/unrevealed Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
footer Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
header [MM-66230] Add AI-generated sparkle indicator to post headers (#9835) 2026-07-14 19:31:02 +00:00
pre_header Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
system_message [MM-68273] Add support for shared/unshared system messages (#9700) 2026-05-11 12:22:10 +02:00
index.ts [MM-66230] Add AI-generated sparkle indicator to post headers (#9835) 2026-07-14 19:31:02 +00:00
post.test.tsx Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
post.tsx Fix CRT-off consecutive reply bar 1px offset and vertical overlap. (#9932) 2026-07-23 21:52:17 +02:00
shimmer_animation.tsx Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00
unread_dot.tsx Detox/E2E: Global threads e2e tests in Gekidou (#6300) 2022-05-20 15:51:15 -07:00
use_shimmer_animation.tsx Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00