-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waiter doesn't cover all the page #95
Comments
Is the loading screen over the |
sorry maybe I didn't explain myself well. Over the entire page. |
OK, can you install the latest dev version, I think this is an issue I already fixed. remotes::install_github("JohnCoene/waiter") |
Of course, and i will let you know as soon as possible. And for now thanks. |
Ok, apologies. I just pushed something I think fixes it, could you try to install the Github version again and try? |
Don't be sorry, it's not your fault. After resintalling from Github did you restart the R session to make sure the latest version was loaded? library(shiny)
library(waiter)
ui <- fluidPage(
use_waiter(),
div(
h1("Content"),
actionButton("show", "Show"),
style = "min-height:8000px;"
)
)
server <- function(input, output, session){
w <- Waiter$new()
observeEvent(input$show, {
w$show()
})
}
shinyApp(ui, server) The above works for me |
Yes i restart the R session. I tried your code and worked perfectly, while in my web app the problem persist. I worked a lot of with golem, and before to load again the app i removed the waiter from the description file and then i re-inserted by using usethis. Maybe could be something related with bs4dash? |
There was an issue with the preloader in bs4Dash. David merged my PR fixing this but it's not yet on CRAN. See issue: #93 PR: RinteRface/bs4Dash#213 Though I don't think this can be it. When you restarted the R session did you, after in the browser with the app opened, did you refresh clearing the cache? It could be that it was the old JavaScript was still loaded/cached. CTRL/CMD + SHIFT + R |
yes I have known of this change in fact now works perfectly.
besides this suggestion I have tried to turn off and on the computer but the problem persists. |
Oh, sorry it persists. Would you have a small reproducible example for me to debug this? |
I will create one and i will provide to you as soon as possible. For now, again, thanks. |
|
Apologies for this but this time I think I really fixed it. Could you reinstall the dev version and try again? remotes::install_github("JohnCoene/waiter") |
Dear Jhon, Thanks for the support. |
Dear john,
First of all thanks to solve the bs4dash-waiter issue.
I am a strong user of uiOutput and renderUI and therefore my pages with the following of the processing steps become larger and larger.
In fact when I arrived at the second/third step of the processing that performs the shinyapp and I insert inside an observeEvent waiter, it happens that waiter covers only the first portion of the page and not all the rest.
So I wanted to know if there is any tool I can use to enlarge the loading of waiter to the whole page.
Thanks again.
The text was updated successfully, but these errors were encountered: