Microsoft/vscode
Ver no GitHubMarkdown preview switches to latest open markdown document
Open
#146.334 aberto em 30 de mar. de 2022
bughelp wantedmarkdown-ext
Métricas do repositório
- Stars
- (74.848 stars)
- Métricas de merge de PR
- (Mesclagem média 11h 43m) (1.000 fundiu PRs em 30d)
Description
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