Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.4k views
in Technique[技术] by (71.8m points)

小程序position:fixed;bottom:0;的bug!!求解决原因!!

需求:按钮固定在最末端;
我将按钮position:fixed;bottom:0;

微信开发者工具测试没有问题,如图:

image.png

ios真机测试:

image.png

再用力往下拉,并且不松开手指才可以显示最后一项:

image.png

代码:
image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

将容器margin-bottom改为padding-bottom试试


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...