-
Notifications
You must be signed in to change notification settings - Fork 355
A small tabset oddity #1889
Copy link
Copy link
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorfront end 🌷General HTML, CSS, and JS issuesGeneral HTML, CSS, and JS issues
Description
Activity
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorfront end 🌷General HTML, CSS, and JS issuesGeneral HTML, CSS, and JS issues
Thanks to @maelle (#1694) tabsets work fantastically in vignettes which is really great. They should also work (and mostly do) in other places like the home page from
readme.mdBut I'm noticing one oddity. I can't quite tell if this is a bootstrap problem or something else going on.I made a basic example package showing this. By default the R tab is selected, but if you scroll past it (on both safari and chrome), the css features that show that it's selected (rounded box, grey background, different color type) disappear (though the tab content remains). I also included an identical tabset in the vignette which works just fine and one can scroll past it without changing the selection indications.
https://github.com/jonkeane/simple-package has the source of the simple package.