While working on the emoji avatar creation, I noticed a situation where the outer ring of the selected color was not visible. This was because the outer ring color matched the background color of the screen area. To fix this, I created an optional prop called outerRingSelectedColor that devs can use to override the outer ring color for situations like this
Details
Details
Please watch the demo videos to see the before and after
Before:
After (set the value of outerRingSelectedColor to #404040) :
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I can't tell what the issue is in the before video
There is no outer ring for the selected emoji background color in the before video. The original ColorSelectorButton was being rendered on a black background so we could visually see the outer ring of the selected color:
The ColorSelectorButton in the emoji avatar creation was being rendered on a lighter background so the outer ring of the selected color is not visible: