What steps will reproduce the problem?
launching a dialog
What is the expected output? What do you see instead?
dialog overlay effect (background color) covers the equivalent height of user's
viewport, leaving empty space if the page is longer than viewport's height.
in iui.js line 451
function showDialog(page)
{
currentDialog = page;
page.setAttribute("selected", "true");
if (hasClass(page, "dialog"))
{
showForm(page);
page.style.height = getTotalHeight()+'px'; //add this
}
}
//add whole fn below
function getTotalHeight()
{
var D = document;
return Math.max(
Math.max(D.body.scrollHeight, D.documentElement.scrollHeight),
Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
Math.max(D.body.clientHeight, D.documentElement.clientHeight)
);
}
Original issue reported on code.google.com by spana...@gmail.com on 14 Sep 2011 at 8:00
Original issue reported on code.google.com by
spana...@gmail.com
on 14 Sep 2011 at 8:00