FR: Text editing should keep focus after switching apps with Cmd+Tab on macOS

Author: Sleepless-cloudCreated Sep 16, 2026Updated Sep 16, 2026
Labelstransfer to excalidraw.com

Have you searched for existing issues (including closed ones)?

  • Yes, I have searched the existing issues.

Does this bug persist in a new vault with only Excalidraw installed?

  • Yes, I have verified the issue persists.

Your environment

SYSTEM INFO: Obsidian version: 1.13.7 Installer version: 1.13.7 Operating system: Darwin Kernel Version 25.6.0: Fri Jul 31 19:11:03 PDT 2026; root:xnu-12377.161.14~5/RELEASE_ARM64_T8132 25.6.0 Login status: logged in Language: zh 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: 8 Plugins enabled: 7 1: Templater v2.25.0 2: Git v2.39.0 3: To-do Folder Sync v1.0.0 4: Daily Dictation v1.0.0 5: Excalidraw v2.27.3 6: Excalidraw Extras v0.1.0 7: Latex Suite v1.13.1

RECOMMENDATIONS: Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Your NotebookLM query

No response

Describe the bug

When I am editing text in an Excalidraw drawing inside Obsidian on macOS, the text editing session is interrupted after switching to another application with Cmd + Tab.

For example, while I am typing inside a text element or inside a rectangle, I press Cmd + Tab to temporarily switch to another application. When I use Cmd + Tab again to return to Obsidian, the text caret is no longer active and I cannot continue typing immediately.

I have to click the text element with the mouse again to resume editing.

This makes workflows that involve frequently switching between Obsidian and another application, such as a browser or ChatGPT, noticeably less efficient.

Steps to reproduce

  1. Open an Excalidraw drawing in Obsidian on macOS.
  2. Create a text element, or enter text inside a shape such as a rectangle.
  3. Start typing so that the text caret is active.
  4. Press Cmd + Tab to switch to another application.
  5. Press Cmd + Tab again to return to Obsidian.
  6. Try to continue typing.

At this point, the text editing session has been interrupted. I have to click the text element again with the mouse before I can continue typing.

Expected behavior

After switching back to Obsidian with Cmd + Tab, I expect the previous text editing session to remain active, or to be automatically restored.

The text caret should return to its previous position so that I can continue typing immediately without clicking the text element again.

Additional context

This issue occurs on macOS and is especially noticeable when frequently switching between Obsidian and another application, such as a browser or ChatGPT, while taking notes.

The issue occurs both when editing a standalone text element and when editing text inside a shape.

It seems that switching away from Obsidian causes the Excalidraw text editor to lose focus, and the previous editing state is not restored when Obsidian becomes active again.

Source: zsviczian/obsidian-excalidraw-plugin