mirror of
https://github.com/status-im/react-native.git
synced 2025-02-12 17:36:27 +00:00
Summary: iOS and css have a different way to draw borders. Decision which rendering to use considers alpha value of given color as well. If alpha=0 -> border is invisible -> we use ios render. That doesn't work as expected in a case where only `borderWidth` property is set. A default black color is used when no `borderColor` is set, but alpha checking logic will test `null`. Which resolves as alpha=0. Reviewed By: javache Differential Revision: D3750523 fbshipit-source-id: 453d52a16287c6286e8887a9ab3795d3ded1dec6