Closed sbridel closed 7 months ago
Ok I think i have found it out....
It happens when in server I load HTML file
SERVER.R
getPage_1<-function() {
return(includeHTML("www/Overview.html"))
}
output$overview <-renderUI({getPage_1()})
getPage_2<-function() {
return(includeHTML("www/FAQ.html"))
}
output$faq <-renderUI({getPage_2()})
getPage_3<-function() {
return(includeHTML("www/credits.html"))
}
output$AF <-renderUI({getPage_3()})
}
UI.R
tabItem(tabName = "FAQ",
htmlOutput("faq")%>% withSpinner(color="#dc322f",size = 2)
),
##### Credits ----------------------------------------------------------------
tabItem(tabName = "Credits",
htmlOutput("AF")%>% withSpinner(color="#dc322f",size = 2)
)
I don't know why but the HTML things seems to freeze the pickerInput. I had already many issues with loading HTML files in the app. Maybe I have to find a better way to do this.
Hello, How do you produce the html files ? That can be an html dependency issue..
Victor
Usually I do it with R markdown and knittr
Was there ever a solution to this? I have the same problem.
@p-schaefer , can you provide a reproducible example ?
Unfortunately, I can't. When I try to make a small reproducible example it works, but in by big complicated dashboard (which is behind a vpn), whenever I add includeHTML()
into the UI, the pickerInputs disappear.
Hi.
I am facing the pickerInput bug in my shiny app. First, I checked the example code below and everything is working fine.
but in my app, the same code doesn't work anymore. I can't figure out if it's because something is missing like a package depedencies or the fact i'm using the same code inside tab item?
EDIT = even adding tabItems on this example code don't reproduce the bug... I try to load all the same packages as my app but still working.
EDIT 2 = splitting this code in ui.R and server.R doesnt reproduce the bug... I don't know what happens