2021-12-05 11:41 PM
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.
Solved! Go to Solution.
2021-12-07 01:55 PM
Yup, if you wanted to do this in the designer you can create the empty container and add a ClickListener mixin to it.
2021-12-06 12:11 AM
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.
2021-12-07 01:55 PM
Yup, if you wanted to do this in the designer you can create the empty container and add a ClickListener mixin to it.