Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Bug fixes

* Fixed dynamically-rendered outputs (e.g. `uiOutput()`) failing to render inside a title-less `popover()` or `tooltip()`, caused by an upstream Shiny change. A temporary CSS workaround restores rendering. (#1326)

* Fixed label-to-options spacing on `shiny::radioButtons()` and `shiny::checkboxGroupInput()` in Bootstrap 5, where a Shiny rule was overriding the bslib fix. (#1308)

* Fixed the resize handle indicator position for `position = "right"` sidebars, which now correctly appears at the inner boundary of the sidebar handle. (#1322)
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion inst/components/dist/components.css

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions inst/components/scss/tooltip-popover.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Workaround for shiny #4388 (bslib #1326): a dynamically-rendered output in a
// title-less popover/tooltip collapses to 0 width, so its ResizeObserver never
// fires and it stays stuck "recalculating". A tiny min-width guarantees a
// non-zero box so the observer fires. Remove once shiny's IntersectionObserver
// handles display:contents wrappers.
:is(.popover, .tooltip) .shiny-html-output {
min-width: 1px;
}
2 changes: 1 addition & 1 deletion inst/examples-shiny/code-editor/examples/r.r
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ result <- data %>%
)

# Create visualization with ggplot2
plot_output = ggplot(result, aes(x = group, y = mean_value, fill = group)) +
plot_output <- ggplot(result, aes(x = group, y = mean_value, fill = group)) +
geom_col(alpha = 0.8, show.legend = FALSE) +
labs(title = "Summary Statistics by Group", x = "Group", y = "Mean Value") +
theme_minimal() +
Expand Down
2 changes: 1 addition & 1 deletion man/navbar_options.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading