Hiding the layer takes the focus off whatever stood on it and leaves the window with no focus widget at all, so the world view answered no keys afterwards: Escape opened the menu once, closed it, and then did nothing. Each modal now notes what held the keyboard when it opened and gives it back on the way out -- the world view for the first of a stack, the modal beneath for one above it, which was dead the same way. The window's own focus guard now also catches the focus going nowhere, rather than only landing on the wrong widget. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ne3mejABZoLWKLh8fgpM3x
7.5 KiB
7.5 KiB