Page MenuHomePhabricator

[native] Fix inline sidebar background color
ClosedPublic

Authored by bartek on Oct 10 2022, 3:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 5:07 PM
Unknown Object (File)
Mon, Nov 25, 8:10 PM
Unknown Object (File)
Sun, Nov 24, 12:31 PM
Unknown Object (File)
Sun, Nov 24, 12:31 PM
Unknown Object (File)
Nov 2 2024, 8:43 PM
Unknown Object (File)
Nov 2 2024, 8:43 PM
Unknown Object (File)
Nov 2 2024, 8:43 PM
Unknown Object (File)
Nov 2 2024, 8:40 PM
Subscribers

Details

Summary

Fixes ENG-1954.
It turns out that sidebar wrapper/holder (with 100% width) had background color set to black. And because it has border radius set, the top-left corner looked OK (or the top-right in case when viewer is author of the message).

Fixed it by removing the background color and making the view opaque.

Test Plan

Tested in iOS simulator, used RN Element Inspector.

Temporarily set the background to green and disabled cornerRadius (1st screen) to show the element. The last screen shows final effect

Simulator Screen Shot - iPhone 14 Pro - 2022-10-10 at 12.24.06.png (2×1 px, 317 KB)

Simulator Screen Shot - iPhone 14 Pro - 2022-10-10 at 12.27.15.png (2×1 px, 301 KB)

Simulator Screen Shot - iPhone 14 Pro - 2022-10-10 at 12.24.33.png (2×1 px, 316 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thanks for linking the context on Linear, describing the issue and solution clearly, and providing screenshots showing the before/after

This revision is now accepted and ready to land.Oct 10 2022, 7:27 AM