jQuery UI 模式对话框:如何在不滚动主窗口的情况下滚动对话框窗口?
If dialog height more than main window height we can scroll down through this dialog, but also main window scrolls too behind it (on the background).
Is it possible to make main window fixed while dialog is opened and scrolling down?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你可以试试这个:
You could try this:
对于寻找此问题答案的其他人,此post 提供以下内容作为答案:
此外,请确保在对话框中设置 height 或 maxHeight 选项,否则它将不会显示滚动条。
For anyone else searching for an answer to this question, this post provides the following as an answer:
Also, make sure the height or maxHeight option is set in the dialog or else it will not display scrollbars.