-
Notifications
You must be signed in to change notification settings - Fork 72
Tabs disappearing after being clicked #105
Description
Describe the bug
In 2.0.1 (after #101) we can (again) place images and more in tabs. However, the tabs behave badly if we stress test them by spam clicking on them for a while. In particular, all tabs except the left-most one disappears. I then have to reload the page for the other tabs to become visible again.
To Reproduce
I'm not sure if the images are in fact related to the problem, but I only see this behavior for the tabs in which I include images and math. The RST I use is in #101. I've uploaded the resulting HTML: Scroll down a bit and you see the tabs "Linux", "Windows", "macOS" and "Docker". Try spam clicking them, e.g. 5 times fast on "Linux", then once on "Windows", then once on "macOS", then 5 times on "Docker". For me, the bug appears like 4/5 times by doing so (and when not I just spam a little more).
Environment
- Python 3.9.0
- sphinx-tabs 2.0.1
- Linux Mint 20
- Google Chrome and Firefox (bug appears about equally often in both).