Detect focus of CKEditor

trying to fix the issue where on an IOS device the keyboard disrupts fixed elements. When clicking on a CKEditor text area, my aim is to set the style of that fixed element back to fixed. Not sure …