Skip to content
Merged
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
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## BUG FIXES

* Duplicate `highlight(selectize=T)` dropdowns are no longer rendered in Shiny (#1936).
* `group_by.plotly()` now properly retains crosstalk information across `{dplyr}` versions (#1920).

# 4.9.3
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ supply_highlight_attrs <- function(p) {

# include one selectize dropdown per "valid" SharedData layer
if (isTRUE(p$x$highlight$selectize)) {
p$x$selectize[[new_id()]] <- list(
p$x$selectize[[i]] <- list(
items = data.frame(value = k, label = k), group = i
)
}
Expand Down
2 changes: 1 addition & 1 deletion inst/htmlwidgets/plotly.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ HTMLWidgets.widget({
});

// inject a "control panel" holding selectize/dynamic color widget(s)
if (x.selectize || x.highlight.dynamic && !instance.plotly) {
if ((x.selectize || x.highlight.dynamic) && !instance.plotly) {
var flex = document.createElement("div");
flex.class = "plotly-crosstalk-control-panel";
flex.style = "display: flex; flex-wrap: wrap";
Expand Down