### Check for duplicates - [x] I have searched for similar issues before opening a new one. ### Description https://github.com/user-attachments/assets/94956749-e2ab-4c11-8d2b-a3cf6e61ddc2 ### Reproduction steps 1. Trigger a context menu or dropdown (via mouse is fine for reproduction, but this also applies when using the keyboard nav plugin) 2. Use up/down keys to navigate its items 3. Move the mouse across the menu without otherwise interacting with it 4. Try to continue keyboard navigation and realise focus has been lost This is likely due to [this call to blur](https://github.com/google/blockly/blob/3e4665e5b824041867b79f0cf8b657c5e6c32236/core/menu.ts#L393). At this point focus is on document.body which is unhelpful for further keyboard navigation. ### Stack trace ```shell ``` ### Screenshots _No response_ ### Browsers _No response_