cancel
Showing results for 
Search instead for 
Did you mean: 

Forbit clicks outside window

VLau
Associate III

I need ModalWindow functionality where clicks outside it are forbidden. In my case my window is a container, how can I prevent clicks outside it?

Seems easy but doesn't work for me. I tried make empty boxes and empty containers size of screen and set them untouchable and visible. However I still can click content under them.

1 ACCEPTED SOLUTION

Accepted Solutions

Yup, if you wanted to do this in the designer you can create the empty container and add a ClickListener mixin to it.

View solution in original post

2 REPLIES 2
VLau
Associate III

Ok, solved it. Needed to set empty container touchable instead of untouchable. In this case clicks go to that empty container which covers Screen content.

Yup, if you wanted to do this in the designer you can create the empty container and add a ClickListener mixin to it.