executablebooks / sphinx-tabs

Tabbed views for Sphinx
https://sphinx-tabs.readthedocs.io
MIT License
265 stars 68 forks source link

Clicking an already selected tab hides the content #141

Closed vberlier closed 3 years ago

vberlier commented 3 years ago

Describe the problem

When you click a an already selected tab the content disappears. If you click it again the content will reappear. It shouldn't be possible to have zero tab selected.

Link to your repository or website

https://sphinx-tabs.readthedocs.io/en/latest/#basic-tabs

Steps to reproduce

  1. Go to "Basic Tabs"
  2. Click on the selected tab "Apples"
  3. The tab gets deselected and the content disappears

The version of Python you're using

No response

Your operating system

No response

Versions of your packages

No response

Additional context

No response

welcome[bot] commented 3 years ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

foster999 commented 3 years ago

Please read the documentation linked in your issue. This is the intended functionality, but can be disabled in your sphinx conf.py.