We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ffb9cb commit 5742aaeCopy full SHA for 5742aae
R/shiny.R
@@ -154,6 +154,11 @@ event_data <- function(
154
}
155
156
priority <- match.arg(priority)
157
+ # events that don't emit any data should _always_ be treated with event priority
158
+ if (event %in% c("plotly_doubleclick", "plotly_deselect", "plotly_afterplot")) {
159
+ priority <- "event"
160
+ }
161
+
162
if (priority == "event") {
163
# Shiny.setInputValue() is always called with event priority
164
# so simply return the parse input value
0 commit comments