Dijit.Dialog irregular behaviour of scroll bar making dialog box unusable
- by arachnica
I use a dojo dialog box to display a page pulled from another part of the site.
The page being pulled is long - so I use the css attribute:
`max-height: 900px;
overflow:auto;
To make sure it displays properly. For a long page, it displays a 900px high dialog box with a scrollbar down the right hand side side. However the scrollbar is going up to the dialog box title and shifting the close box icon to the left. In internet explorer, when a user moves his mouse of the close box icon, it moves to the right. If you move your mouse to the right it moves left - so you can never actually close the box with the icon.
I have tried clearing the content in the box and just making it very long, and the same thing still happens.
Oddly enough, if I close the window using esc and click pull up the dialog box again, it works fine.
Any way I can make it display properly at all times. I am using Dojo version 1.3.
Thanks