plotly.R icon indicating copy to clipboard operation
plotly.R copied to clipboard

Make `event_data` warning suppressable?

Open yogat3ch opened this issue 2 years ago • 0 comments

Hi plotly devs,

The current implementation for event_data makes it such that the warning will display in nearly all instances where UI is rendered dynamically (such as in a shiny app). The warning is attached as a callback to the onFlush event which prevents it from being suppressed with suppressWarnings.

Can either:

  • A vignette be provided for how to implement event_data with dynamically rendered UI in a modular shiny app without triggering the warning? -OR-
  • An argument be provided to event_data to suppress the warning?

yogat3ch avatar Jul 11 '23 19:07 yogat3ch