https://fiddle.sencha.com/#view/editor&fiddle/2ef0
Floating Panel - Focus and Blur Events are not working.
How can I catch Focus and Blur Events ?
https://fiddle.sencha.com/#view/editor&fiddle/2ef0
Floating Panel - Focus and Blur Events are not working.
How can I catch Focus and Blur Events ?
I don't know. But if you use a window it works fine.
Sorry,
recordable,
You didn't add any focusable elements to the panel, so it never gets focused or blurred. `focusable` property does not affect DOM.
Window works exactly because its main element has `tabIndex` property and thus is focusable.
Regards,
Alex.
And since it's a panel you are talking about, conceptually, do you really want it to be focused? Or are you talking about some kind of fields inside it which receive focus, and you want notification when that happens?
In which case, you will be more interested in
https://docs.sencha.com/extjs/6.5.3/...ent-focusenter
https://docs.sencha.com/extjs/6.5.3/...ent-focusleave