-
Notifications
You must be signed in to change notification settings - Fork 6
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
Can't easily append to a chat_ui()
that is dynamically rendered
#4
Comments
Something feels weird to me about fixing this scenario by delaying all the |
It would definitely help, and probably worth adding regardless of before/after flush. Just curious, are you mainly concerned about the potential for "unresponsive" chats? And/or something else? |
TIL I learned that the following works (as in the slider value is 15 after app load) and I would definitely say that it also "feels weird" that it does. server <- function(input, output, session) {
updateSliderInput(session, "slider", value = 15)
output$x <- renderUI({
sliderInput("slider", "Slider", min = 0, max = 20, value = 0)
})
} |
@gadenbuie Feels like a total coincidence that this works; after each flush, the client happens to process all the successful outputs, then all the failed outputs, then all the input updates. I definitely intended all the |
For example, one might expect this to work, but it doesn't
The text was updated successfully, but these errors were encountered: