Streaming live at 10am (PST)

Closing a Pop up window by clicking outside of it (does not work)


#1

Hi, i find thise topic but it does not working for me.

Just look on my test saite: http://testik.webflow.io/ I try to close poup up window by cliking the outside, but it close my form when i'll clik on some form area. Parent element (modal-wrapper) haz z-index -5, child element (form wrapper) haz z-index 10. But form wrapper still catching close up clicking and close.

Whait is wrong? Thanks!


#2

So, i'll find desigions by myself, It was beacos form wrapper was a child for background-wrapper, so i've unparent it and it start working. And add some interactions for it.