You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The header is passed to navset_pill, then the nav + content components are pulled out via tagQuery without also bringing along the header/footer. Maybe what should be happening here is that the header and footer get passed directly to the final "card", either
Describe the problem
navset_card_pill()
and friends ignore its header argument (which seems to be intended to replicate the behaviour ofnavset_pill()
).Reprex
Given this example, I would expect HEADER CARD to appear somewhere, but it does not.
Compare to what navset pill does:
This problem seems to be caused here:
bslib/R/navs.R
Lines 53 to 81 in 3321ff1
The header is passed to navset_pill, then the nav + content components are pulled out via tagQuery without also bringing along the header/footer. Maybe what should be happening here is that the header and footer get passed directly to the final "card", either
or (maybe weirder?)
I think the former solution is probably better and can make a PR to that effect, if desired?
Session Info
session info
The text was updated successfully, but these errors were encountered: