File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ supply_highlight_attrs <- function(p) {
379379
380380 # include one selectize dropdown per "valid" SharedData layer
381381 if (isTRUE(p $ x $ highlight $ selectize )) {
382- p $ x $ selectize [[new_id() ]] <- list (
382+ p $ x $ selectize [[i ]] <- list (
383383 items = data.frame (value = k , label = k ), group = i
384384 )
385385 }
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ HTMLWidgets.widget({
7474 } ) ;
7575
7676 // inject a "control panel" holding selectize/dynamic color widget(s)
77- if ( x . selectize || x . highlight . dynamic && ! instance . plotly ) {
77+ if ( ( x . selectize || x . highlight . dynamic ) && ! instance . plotly ) {
7878 var flex = document . createElement ( "div" ) ;
7979 flex . class = "plotly-crosstalk-control-panel" ;
8080 flex . style = "display: flex; flex-wrap: wrap" ;
You can’t perform that action at this time.
0 commit comments