Canvas: focus falls back to <body> after Escape, so Backspace cannot delete the selected card

Steps to reproduce

  1. Open a canvas.
  2. Double-click a card to start editing and type some text.
  3. Press Escape to stop editing.
  4. Press Backspace (or Delete).

Did you read and follow the Troubleshooting Guide ? [Yes/No]

Yes

Expected result

The card is deleted. The card is still selected after `Escape` — the selection outline and the floating toolbar (delete / color / zoom / edit) are both visible, exactly as when the card is selected with the mouse.

Actual result

Nothing happens. Reproduces 100% of the time. The card can only be deleted after clicking it once with the mouse.

Environment

SYSTEM INFO:
Obsidian version: 1.14.5
Installer version: 1.14.5
Operating system: Windows 11 Home 10.0.26300
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Escape does not return keyboard focus to the canvas wrapper. Focus falls back to <body> instead.
I logged document.activeElement on keydown in the developer console, with a capture-phase and a bubble-phase listener:

Mouse-selected card (deletion works):

[CAPTURE] Backspace | activeElement: DIV canvas-wrapper node-insert-event | contentEditable: false | defaultPrevented: false
[BUBBLE ] Backspace | defaultPrevented: false

After typing and pressing Escape (deletion fails):

[CAPTURE] Backspace | activeElement: BODY theme-dark mod-windows ... is-focused | contentEditable: false | defaultPrevented: false
[BUBBLE ] Backspace | defaultPrevented: false

The event is not swallowed — it reaches the bubble phase and defaultPrevented is false in both cases. The card deletion handler is bound to the canvas view,so it simply never fires while focus sits on <body>.

This also explains why other keyboard actions still work in the broken state: Ctrl+A selects all cards and the arrow keys move the selected card, because those are registered as application-level hotkeys and fire regardless of which element holds focus. Only card deletion depends on the canvas wrapper having focus.

Note that Ctrl+A to select every card, followed by Backspace, also deletes nothing in this state — so this is not specific to a single node’s selection.

Related. Maybe?