Closed daattali closed 4 years ago
Sample code to reproduce the problem:
library(shiny) ui <- fluidPage( checkboxInput("show", "show plot", TRUE), conditionalPanel("input.show", plotOutput("plot") %>% shinycssloaders::withSpinner()) ) server <- function(input, output, session) { output$plot <- renderPlot({ input$show Sys.sleep(1) plot(rnorm(100)) }) } shinyApp(ui, server)
Same buggy behaviour is seen if shinyjs::toggle()/show()/hide() is used
shinyjs::toggle()/show()/hide()
This has been fixed in the last few months
Sample code to reproduce the problem: