如何在滚动时固定 PopupPanel 相对于页面的位置
本质上,弹出面板与浏览器面板保持固定位置 - 我希望它随页面滚动。
我尝试设置弹出面板的 CSS 元素,使用“position:fixed!important”,但没有成功。
这个问题似乎解释了类似的问题,但我仍然不完全清楚确定修复应该是什么。
知道如何做到这一点吗?
Essentially the popup panel stays a fixed position to the browser panel - where as I want it to scroll with the page.
I've tried setting the CSS element of the popup panel, with 'position: fixed !important' but no success.
This question seems to explain a similar problem, but I'm still not exactly sure what the fix is supposed to be.
Any idea how to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过以下方式添加 WindowScrollHandler:
You can add WindowScrollHandler by doing like this: