2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)TypeScript18,676 stars (18,676 stars)2,478 forks (2,478 forks)batch import
bughelp wantedshell
Description
In order to reproduce:
- open a markdown file with an editor
- click on preview toolbar item
- the preview will be revealed (not focused)
- expected that the focus will be preserved to the editor, but it is not
- Issue type
- bug
- Research direction
- The issue describes a bug where clicking the preview toolbar item causes focus to be lost from the editor. To resolve, examine the focus management in the preview toggle logic, possibly in the `preview` command handler or the tab bar widget. Check if the preview panel is stealing focus when revealed. The issue has two comments but no maintainer response; review those for additional context.