When running my ShinyApp locally, the webpage interactivity never shutdowns (turns grey and takes no user input). When running this same app in browser r-server RStudio, app shutdowns in a minute or so.
Any dummy server would do, but for example
library(shiny)
ui <- fluidPage(
h1("Example"),
inputPanel(
actionButton("button", "This is button")
)
)
server <- function(input, output){
observeEvent(input$button,
print("Button pressed.")
)
}
shinyApp(ui=ui, server=server)
follows the described behavior.
How do I disable or bypass this?