Skip to content

Commit

Permalink
hack: avoid plotly event_data warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Gotfrid committed Nov 7, 2024
1 parent 77f01a5 commit 778ba52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inst/shiny/modules/slope_selector.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ slope_selector_server <- function(
moduleServer(id, function(input, output, session) {
log_trace("{id}: Attaching server")

# HACK: workaround to avoid plotly_click not being registered warning
session$userData$plotlyShinyEventIDs <- "plotly_click-A"

current_page <- reactiveVal(1)

#' updating current page based on user input
Expand Down

0 comments on commit 778ba52

Please sign in to comment.