安全区域在PC端下计算有BUG

发布于 6 年前作者 dongjing8843 次浏览最后编辑 6 年前来自 issues

height: calc(100vh - 110rpx - constant(safe-area-inset-bottom));

👆上面的代码在其他端都可以正常使用 但是在PC端的小程序会导致高度计算错误

1 回复
khao
khao1 楼4 年前

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。