ExtJS floating window focus lose detection
问题 I am wondering whether there is an efficient way to detect whether a floating window loses focus or not. I have a floating window for user's temporary inputs, what I want to do is automatically hiding this window if user forgot to hide it after input operation (e.g., clicks at elsewhere). I tried to use blur event on window's element, but nothing happened. a working demo: demo thanks for any idea! 回答1: This can be achieved adding blur event to ext window element, below is the sample code Ext