PDA

View Full Version : Modal window in center region



Ilay
8 Dec 2012, 3:17 AM
When i create modal window, which placed in center region of Viewport, it masked all Viewport and scroll into region doesnt worked.
What a way to use modal window and use scroll of region where it window create?
Thank you.

Farish
8 Dec 2012, 4:40 AM
what if you set modal: false on the window, disable the center region when the window is showed and enable it again when the window is hidden. that way, the user cannot interact with anything in the center region while the items in the other regions are still accessible.

Ilay
8 Dec 2012, 5:57 AM
what if you set modal: false on the window, disable the center region when the window is showed and enable it again when the window is hidden. that way, the user cannot interact with anything in the center region while the items in the other regions are still accessible.

Thanks for answer, but problem have another side. Window is huge (it height more than region) and when it shows i can't scrolling region. Using autoScroll for Viewport gives a 2 scrollbar (region and viewport). And when i using autoScroll only for Viewport - center region content is cutt off