css - 为什么我的高程阴影在本机反应中位于错误的一侧?
问题描述
为什么我的高程阴影会出现在顶部而不是底部?实际上我宁愿它出现在底部。如何调整高程阴影出现的位置?
const autoStyles = StyleSheet.create({
suggestionsWrapper: {
marginTop: 35,
marginBottom: 5,
position:'absolute',
display:'flex',
left:0,
top:15,
backgroundColor:'#fff',
width:'100%',
zIndex:10000,
height:150,
elevation:5
},
suggestion: {
top:0,
left:0,
height: 30,
padding: 5,
borderBottomColor: '#ddd',
borderBottomWidth: 1
},
suggestionText: {
fontSize: 15
},
input: {
fontSize: 15
},
wrapper: {
flex: 1
}
});
解决方案
推荐阅读
- c# - 解析特定日期格式 C#
- flutter - flutterfire-web:如何在基于 Web 的 Flutter 应用中将大文件上传到 Firebase 存储
- tcl - tcl 如何读取文件并显示某些单词
- flutter - TabBar Flutter 的抖动/抖动动画
- python - 如何在 matplotlib 中绘制我的熊猫数据框
- github - 如何更新 Zenodo 中的版本?
- wordpress - woocommerce 自定义订单请求
- javascript - 在 Reactjs 应用程序中清除购物车项目的问题
- python-3.x - 如何从 docker 中的 YAML 文件中读取环境变量?
- php - 如何正确比较两个 Unix 时间戳