We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c05f001 + a597962 commit 6aa3717Copy full SHA for 6aa3717
R/shiny.R
@@ -153,7 +153,13 @@ event_data <- function(
153
parseJSONVal(session$rootScope()$input[[eventID]])
154
}
155
156
- priority <- match.arg(priority)
+ # events that don't emit any data should _always_ be treated with event priority
157
+ priority <- if (event %in% c("plotly_doubleclick", "plotly_deselect", "plotly_afterplot")) {
158
+ "event"
159
+ } else {
160
+ match.arg(priority)
161
+ }
162
+
163
if (priority == "event") {
164
# Shiny.setInputValue() is always called with event priority
165
# so simply return the parse input value
0 commit comments