OK. Thank you for that I am already closer to what might be happening.
So after the context menu closes it will pass the focus onto one of the elements in the panel. I never actually manage the focus on the panel. So I supposed to pass that focus back to the editor somehow ?
What is strange that while backspace arrows etc … move the cursor other letters don’t work. : )
Now that I looked at it on my pc I am actually wondering if it’s limited to my machine or not …
My implementation of the context menu is straight from here