地址栏下面的横幅正在改变高度,甚至不是DOM的一部分。
底部的Position: fixed
元素被隐藏。
您可以通过以下方式查看
1.在Safari - iOS smart phones
中打开https://www.ounass.ae/clothing/
1.向下滚动以查看此应用程序横幅
1.点击Filter By
按钮。
地址栏下面的横幅正在改变高度,甚至不是DOM的一部分。
底部的Position: fixed
元素被隐藏。
您可以通过以下方式查看
1.在Safari - iOS smart phones
中打开https://www.ounass.ae/clothing/
1.向下滚动以查看此应用程序横幅
1.点击Filter By
按钮。
3条答案
按热度按时间pgpifvop1#
你试过
-webkit-fill-available
吗ergxz8rk2#
我也有同样的问题,但这可能不是解决办法,而是一种变通办法。
我们还可以将
transition
添加到CTA按钮,以添加一点动画bf1o4zei3#
也许新的dvh css单元可以在这里提供帮助。
更多信息checkout https://web.dev/viewport-units/