Keyboard navigation keys don't work in Quick Switcher/Command Palette

The home and end keys don’t work in the Quick Switcher and Command Palette, despite working in other parts of Obsidian.

Steps to reproduce

  1. Open quick switcher
  2. Type something
  3. Press home

Did you follow the troubleshooting guide? Yes.
Expected result: Caret goes to beginning of line.
Actual result: Caret stays at the end of the line.

Environment

SYSTEM INFO:
	Obsidian version: 1.12.4
	Installer version: 1.8.4
	Operating system: Windows 11 Home 10.0.22621
	Login status: logged in
	Language: en
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 6
	Plugins enabled: 6
		1: Emoji Shortcodes v2.2.0
		2: Unofficial Supernote by Ratta Integration v2.8.0
		3: asciimath v0.7.5
		4: Omnisearch v1.26.1
		5: Text Extractor v0.5.2
		6: PDF++ v0.40.31

Read this: