[英]React-Native sectionlist placeholder/text placement has gone up
Recently I did upgraded my react-native app from 0.59 to 0.62 and after the upgrade I found the text in the searchbar of sectionList has gone little bit up and also cutting out in some of the devices.最近我确实将我的 react-native 应用程序从 0.59 升级到了 0.62,升级后我发现 sectionList 搜索栏中的文本有点上升,并且在某些设备中也被删除了。 How could I make it vertically centre aligned?我怎样才能使它垂直居中对齐?
Finally got the solution, I was using textinput for the searcbar and it got fixed by changing the lineHeight value终于找到了解决方案,我使用 textinput 作为 searcbar 并通过更改 lineHeight 值来修复它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.