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)
Wed, Sep 18, 1:51 PM
Unknown Object (File)
Wed, Sep 18, 1:51 PM
Unknown Object (File)
Wed, Sep 18, 1:51 PM
Unknown Object (File)
Wed, Sep 18, 1:48 PM
Unknown Object (File)
Thu, Sep 12, 11:22 PM
Unknown Object (File)
Sat, Sep 7, 7:31 AM
Unknown Object (File)
Fri, Sep 6, 8:07 PM
Unknown Object (File)
Sep 5 2024, 8:02 AM
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
Branch
@barthap/inline-sidebar
Lint
No Lint Coverage
Unit
No Test Coverage

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