react-native 在部分手机上Text尾部显示不全,例如Pixel、魅族等手机,
解决方法是设置lineheight,
fontStyle: {
<your other styles>,
lineHeight: <your font size> * 1.2,
},
参考:https://github.com/facebook/react-native/issues/21729
经测试,Pixel、魅族上都能显示正常了。
react-native 在部分手机上Text尾部显示不全,例如Pixel、魅族等手机,
解决方法是设置lineheight,
fontStyle: {
<your other styles>,
lineHeight: <your font size> * 1.2,
},
参考:https://github.com/facebook/react-native/issues/21729
经测试,Pixel、魅族上都能显示正常了。