[英]having problem with Full Screen mode in browser in my react Project
I have a react project for shopping, there is a sticky basket button at bottom of the page.我有一个购物反应项目,页面底部有一个粘篮按钮。 by scrolling to the top and bottom, the sticky button jumps up because of full-screen mode in the browser.
通过滚动到顶部和底部,由于浏览器中的全屏模式,粘性按钮会跳起来。 PS: by full-screen mode I mean when the URL disappears by scrolling.
PS:全屏模式是指当 URL 滚动消失时。 how can I fix it?
我该如何解决?
position: fixed;
z-index: 2000;
width: 100%;
bottom: 0;
left: 0;```
you can add position property to fixed您可以将 position 属性添加到 fixed
position: fixed;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.