Microsoft/vscode
在 GitHub 查看Markdown preview switches to latest open markdown document
Open
#146,334 创建于 2022年3月30日
bughelp wantedmarkdown-ext
仓库指标
- Star
- (74,848 star)
- PR 合并指标
- (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)
描述
Steps to Reproduce:
- Open a markdown preview
- Close the associated markdown file
- Scroll around
- Open the same markdown file again
- 🐛 Scroll position is reset.
- Close the markdown file
- Open a different markdown file
- 🐛 Preview changes to the new markdown file.
Maybe it's because I use the markdown previews as markdown readers but I don't expect their state to be tied to the currently open markdown file, especially because I can close the markdown file and keep viewing without issue