FormidableLabs / victory-uiexplorer-native

A React Native app for iOS and Android that showcases Victory Native components
65 stars 6 forks source link

iOS render glitch in SegmentedControl #10

Closed jevakallio closed 7 years ago

jevakallio commented 7 years ago

Occasionally the border rendering glitches on iOS: image

Can probably be worked around by using a border size that is defined relative to PixelRatio.get().

jevakallio commented 7 years ago

This appears to be caused by a scenario where you give border radius to some corners of the view, but not to all of them. The non-radiused corners produce artefacts. Reported issue since February: https://github.com/facebook/react-native/issues/6082

jevakallio commented 7 years ago

Fixed by https://github.com/FormidableLabs/victory-uiexplorer-native/commit/812e6476017247c01cd9d71947e881fdb08b53a9 and deployed to production via code-push