react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

IOS: BottomTabs menu has top line

Open vietdung97 opened this issue 1 year ago • 3 comments

🐛 Bug Report

Hi Wix team, I am facing an iOS bug that still shows top border on bottomTabs even though I have set borderWidth = 0 It's related to this topic but I haven't found the solution there yet: https://github.com/wix/react-native-navigation/issues/7334

vietdung97 avatar Aug 23 '22 02:08 vietdung97

Still have this issue as well running @7.18.1

mvolonnino avatar Sep 15 '22 14:09 mvolonnino

The issue will be resolved by apply 'scrollEdgeAppearance.shadowImage' with options input:

BottomTabsAppearancePresenter:

if (@available(iOS 15.0, *)) {
                childViewController.tabBarItem.scrollEdgeAppearance.shadowImage = [UIImage
                                imageWithSize:CGSizeMake(1.0, [[options.borderWidth withDefault:@(0.1)] floatValue])
                                        color:[options.borderColor withDefault:UIColor.blackColor]];
      }

thuongtv-vn avatar Jun 21 '23 09:06 thuongtv-vn

This works! Thanks @thuongtv-vn

nicolaosm avatar Jan 27 '24 16:01 nicolaosm