Closed dpastoor closed 2 years ago
Here is some slightly weird behavior to address:
Now neither the R or Python tab is selected. If you click somewhere else (like to "Version") not only is neither R nor Python selected, but there is no content displayed in any of the tabs.
hmmm I get partial replication - definitely something going on
replication of the issue
https://user-images.githubusercontent.com/3196313/168491161-6568667c-2f82-4cfa-bcc9-67a2aa0fbbfd.mov
I can also see this behavior (tabs blanking out with neither selected) if I:
ok - the issue seems to stem from the fact that when doing that backwards navigation none of the panels seem to be selected (not even a default), hence all that lower content is also hidden. What I'm not sure of just yet is whether this is a quarto bug that would happen on any website, or something that the custom script is exacerbating.
need more precise targeting - tabset is not specific enough in the existing code. For example:
inside also has an id that starts with tabset (that improperly then gets applied active when clicked too)
hopefully can use some of the additional ID's to more precisely target