Open daattali opened 3 years ago
If it MUST be fixed, a hacky workaround is to change htmltools::tags$script(paste0("shinywcInputKnob.checkInit('", id, "')"))
to htmltools::tags$head(htmltools::tags$script(paste0("setTimeout(function(){shinywcInputKnob.checkInit('", id, "')},0)")))
but I would much prefer to stay away from doing that for all other cases that don't involve insertUI()
and hopefully this will be fixed in shiny soon
Update: this is fixed in shiny 1.7.2
Blocked by https://github.com/rstudio/shiny/issues/1545