Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/382.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 在我的react native应用程序内容中修改之前有效的内容后,提升突然不起作用_Javascript_React Native_React Native Android - Fatal编程技术网

Javascript 在我的react native应用程序内容中修改之前有效的内容后,提升突然不起作用

Javascript 在我的react native应用程序内容中修改之前有效的内容后,提升突然不起作用,javascript,react-native,react-native-android,Javascript,React Native,React Native Android,我在我的应用程序中使用了标高属性,它以前工作正常,但在其他几次更改后,标高突然不工作 我以前用过的款式很好用 flexDirection: 'row', backgroundColor: 'white', height: hp('9%'), alignItems: 'center', borderRadius: wp('2%'), marginBottom: hp('2%'), m

我在我的应用程序中使用了标高属性,它以前工作正常,但在其他几次更改后,标高突然不工作

我以前用过的款式很好用

        flexDirection: 'row',
        backgroundColor: 'white',
        height: hp('9%'),
        alignItems: 'center',
        borderRadius: wp('2%'),
        marginBottom: hp('2%'),
        marginLeft: wp('5%'),
        elevation: 5,  ```
您可以在样式的“立面”下尝试“位置:'相对'”

flexDirection: 'row',
backgroundColor: 'white',
height: hp('9%'),
alignItems: 'center',
borderRadius: wp('2%'),
marginBottom: hp('2%'),
marginLeft: wp('5%'),
elevation: 5,
position: 'relative',

“几乎没有其他变化”->什么变化?如果此样式没有更改,问题不在于此样式,而在于您的更改您是否在父组件上设置了
高程
Name MD
i已在
companyPersonSubContainer中设置高程