You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using the latest version on github ( 26a6569 ) , I get this error
ui_element must be a Shiny tag
on apps that were working fine with previous versions of the package and that use plotly or DT packages.
A minimal reprex is this app:
library(shiny)
library(shinycssloaders)
library(plotly)
ui <- fluidPage(
sidebarLayout(
sidebarPanel(
),
mainPanel(
plotlyOutput("distPlot") %>% withSpinner()
)
)
)
server <- function(input, output) {
output$distPlot <- renderPlotly({
faithful %>%
ggplot(aes(eruptions,waiting))+
geom_point()
})
}
# Run the application
shinyApp(ui = ui, server = server)
I believe the problem is caused by the fact that the withSpinner function is checking for inheritance on shiny.tag while both plotlyOutput and DTOutput return objects with class shiny.tag.list .
thank you,
Ilaria
The text was updated successfully, but these errors were encountered:
Hi,
when using the latest version on github ( 26a6569 ) , I get this error
ui_element must be a Shiny tag
on apps that were working fine with previous versions of the package and that use plotly or DT packages.
A minimal reprex is this app:
I believe the problem is caused by the fact that the withSpinner function is checking for inheritance on
shiny.tag
while both plotlyOutput and DTOutput return objects with classshiny.tag.list
.thank you,
Ilaria
The text was updated successfully, but these errors were encountered: