为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Dialog confirm boxes are too wide for the page and dissapearing off the right side in the sites we have developed. This is new. How do we fix?

  • 5 个回答
  • 2 人有此问题
  • 4 次查看
  • 最后回复者为 cor-el

more options

In both Windows and Mac the confirm dialog boxes are now opening too wide. It extends off the right side of the page and therefore hides the user action buttons. The website does not have horizontal scroll bars.

When you re-size the browser window, the dialog box re-sizes to the correct size. As site developers, how can we prevent this happening?

In both Windows and Mac the confirm dialog boxes are now opening too wide. It extends off the right side of the page and therefore hides the user action buttons. The website does not have horizontal scroll bars. When you re-size the browser window, the dialog box re-sizes to the correct size. As site developers, how can we prevent this happening?

被采纳的解决方案

Can be this bug:

  • bug 686469 - Tab-modal alert can overflow the browser window

(please do not comment in bug reports)

定位到答案原位置 👍 0

所有回复 (5)

more options

Are the websites displayed correctly otherwise?

See also:

more options

Thank you for your reply.

Yes everything else is fine. I have attached a screenshot of a test page we created, it is not website specific.

It is also happening on multiple machines/OS in different locations and only since the Firefox upgrade where the dialog boxes now use the lightbox effect. So I don't think it's a file corruption issue.

The dialog box is opening at about 120% of the window width and is therefore disappearing off the right edge and hiding the "cancel"/"confirm" buttons.

more options

选择的解决方案

Can be this bug:

  • bug 686469 - Tab-modal alert can overflow the browser window

(please do not comment in bug reports)

more options

Yes, that's it! I was hoping there would be something I could do in the code to stop it. Guess not :/

Thank you for pointing that out.

Best!

more options

You're welcome