![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
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?
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?
Réiteach roghnaithe
Can be this bug:
- bug 686469 - Tab-modal alert can overflow the browser window
(please do not comment in bug reports)
Read this answer in context 👍 0All Replies (5)
Are the websites displayed correctly otherwise?
See also:
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.
Réiteach Roghnaithe
Can be this bug:
- bug 686469 - Tab-modal alert can overflow the browser window
(please do not comment in bug reports)
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!
You're welcome