Nesting tooltips and popovers breaks placement of outer overlay
Open
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 569
- Forks
- 72
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
https://github.com/user-attachments/assets/e15bcbac-c783-4eaa-9588-298e53f3d097
library(shiny)
library(bslib)
ui <- page_fluid(
class = "p-5",
tooltip(
popover(
actionButton("settings", "tooltip > popover"),
radioButtons(
inputId = "color_scheme",
label = NULL,
choices = c("Light", "Dark", "Colorblind Friendly"),
selected = "Light",
inline = TRUE
),
title = "Chart Color Scheme"
),
"Settings"
),
popover(
tooltip(
actionButton("more_settings", "popover > tooltip"),
"More Settings"
),
radioButtons(
inputId = "more_color_scheme",
label = NULL,
choices = c("Light", "Dark", "Colorblind Friendly"),
selected = "Light",
inline = TRUE
),
title = "More Chart Color Scheme"
)
)
server <- function(input, output, session) {}
shinyApp(ui, server)
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 by running the supplied Shiny reproduction to observe placement for both tooltip/popover nesting orders. Trace the tooltip and popover overlay behavior, then verify that the outer overlay remains correctly positioned in each case using the same example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bootstrap, r
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100