简体   繁体   English

在 Ios 网站上截屏时滚动到顶部

[英]When taking screenshot on Ios website scrolls to top

I am loading a web application in safari browser, when capture a screeenshot, the view scrolls up.我正在 safari 浏览器中加载 web 应用程序,当捕获屏幕截图时,视图会向上滚动。 Why is this happening and How can I prevent it.为什么会发生这种情况,我该如何预防。

setting a max-height to the container solved this issue.为容器设置最大高度解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM