Add `position = "sticky-top"` to `navset_bar()` and `page_navbar()`
Open
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 569
- Forks
- 72
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
As mentioned in https://github.com/rstudio/shiny/issues/3862, we should add "sticky-top" as an option in navset_bar(). Is there a use case for "sticky-bottom", too?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in R/navs-legacy.R around lines 83-84, then trace the navset_bar() and page_navbar() entry points. Check how existing position options are exposed and determine whether the requested sticky-top option should also cover sticky-bottom; done means the supported option is available in both functions with the intended Bootstrap class.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bootstrap, r, sass
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100