Vscode: Markdown dropdowns automatically collapse in preview when being edited

Created on 3 Aug 2020  路  6Comments  路  Source: microsoft/vscode




  • VSCode Version: v1.47.3
  • OS Version: Windows 10 2004 64 Bit

Steps to Reproduce:

  1. open up a markdown file and create a dropdown menu like this:
<details>
    <summary>
        Testing Purpose
    </summary>

*Details*:
- test

*Info*:
- more test
</details>
  1. open up the markdown preview and expand the dropdown menu
  2. edit anything within the markdown file
  3. the menu automatically collapses and you need to reopen it


Does this issue occur when all extensions are disabled?: Yes

I was mentioning this issue in an extension I thought was related to this but it seems like this is an internal bug because it has the same behaviour without the extension. You can find the submission here: https://github.com/yzhang-gh/vscode-markdown/issues/772

*out-of-scope feature-request help wanted markdown

Most helpful comment


This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

All 6 comments


This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!


:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Current workaround:

  • add the open attribute to the <details> while editing
  • make sure to delete them after done with editing

We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

I find this decision really sad and my personal opinion is that this was closed because it's hard to implement.
I find it very harsh to say that there is no plan to add this in foreseeable future if there are many upvotes from the community and just closing it.
If this is added in one year or maybe two, it would be fine but just closing it with no further explanation and reasoning is very sad to see from a community-driven software.

You are welcome to submit a PR.

I closed this because we don't plan on addressing it ourselves anytime soon and don't want to give people false hope by keeping it open forever

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DovydasNavickas picture DovydasNavickas  路  3Comments

curtw picture curtw  路  3Comments

trstringer picture trstringer  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

villiv picture villiv  路  3Comments