Setting Focus on Popup Window

Anthony Brown shared this question 1 year ago
Answered

I have a question. I have a mobile screen that scrolls. On that screen I have a hotspot that can show a hidden “popup” window when clicked. My question is how do I make the “focus” remain on that popup window until the user clicks a close button in the window? What I mean by “focus” is that users can’t scroll, click any other buttons, or perform any other actions in the app until they click the close button in the “popup” window?


Is this possible? If so, how do I go about that?

Thanks.

Comments (2)

photo
1

Hi Anthony,


While you won't be able to lock the scroll, you can create an event that will show a dynamic panel that will be placed above the screen, which will disable the ability to click on any other elements. I have attached an example of this. Hope it helps.


https://www.dropbox.com/s/r4uilnbdlj7tyng/Disableactions.vp?dl=0


Best,

Danielle

photo
1

Sorry for the late reply Danielle. That pretty much works for what I need.

Thanks!