-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.3, 8.0.4
-
None
-
Security Level: Jimmy
-
None
-
IE11, FF 51.0.1, Chrome 55.0.2883.87
Popups are closing by clicking outside them. It does not always work. The area visible when we scroll to the top of a website responds well, any area below does not close popups.
See the attachment for clarification - I have used your demo popups.
Additional debugging information:
Click listener is registered in <body> element.
In zk.wcs, there is a height:100% rule for body, which cause the body not to cover the whole page if the page is taller than one screen.
see fiddle:
http://zkfiddle.org/sample/2cn00f5/1-ZK-body-click-listener
Click on the "test" label to open the popup.
Scroll downward
Clicking outside of the body (below the red border) will not close the popup.
Workaround
Remove the body height rule by adding the following to your page:
<style> body{ height:initial; } </style>