justinmind-logo
 
Upvote 1

Setting Focus on Popup Window

Answered Anthony Brown 6 years ago

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.

Replies (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!

Leave a Comment
 
Attach a file