We have a window that has centerInPage() and it does display in the center of the page when shown.
However, at times when a lot of sections are expanded the page can get much taller than the client area. If the user is scrolled down to the bottom of this long page, the centered window appears above the fold and hidden from view unless the user knows to scroll back up.
So what we really need is the ability to center the window in the client area (the visible portion of the page within the browser), and not in the center of the page.
Do you have any way to do that automatically, so we don't have to code all the centering logic?
However, at times when a lot of sections are expanded the page can get much taller than the client area. If the user is scrolled down to the bottom of this long page, the centered window appears above the fold and hidden from view unless the user knows to scroll back up.
So what we really need is the ability to center the window in the client area (the visible portion of the page within the browser), and not in the center of the page.
Do you have any way to do that automatically, so we don't have to code all the centering logic?
Comment