https://snippet.webix.com/abze9ynr here after clicking the button i get a window, then i would like to close the window when ever i click outside of it. [similar to behaviour of the popup opened]
for the above snippet the window should not disappear when we click on the window itself @Dzmitry
1. Popup and window are almost the same. If you use the window only to get the title, then it is better to write it in a pop-up body:
2. Window will not be closed without calling hide directly (or close to destroy it).
In onFocusChange event handler, you can write a logic that closes the window.
Please check the snippet:
@annazankevich https://snippet.webix.com/8q0nxljd in given snippet, is there any possibility to achieve the requirement without using global event, onfocusChange
Unfortunately not, as there is no other way to maintain an outside click/focus for a window or another view
It looks like you're new here. If you want to get involved, click one of these buttons!