We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5742aae commit a597962Copy full SHA for a597962
R/shiny.R
@@ -153,10 +153,11 @@ event_data <- function(
153
parseJSONVal(session$rootScope()$input[[eventID]])
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"
+ priority <- if (event %in% c("plotly_doubleclick", "plotly_deselect", "plotly_afterplot")) {
+ "event"
+ } else {
160
+ match.arg(priority)
161
162
163
if (priority == "event") {
0 commit comments