Closed dalekube closed 6 years ago
What if you do: modalDialog(withSpinner(tagList(renderPlot())))
?
If this works, one more recommendation: make sure you use the github version of shinycssloaders
with modalDialog
, it will work better than the one on CRAN.
Yes, that works! Thank you. I had no idea tagList could be used like that.
I utilize
modalDialog()
in the server to have a screen pop-up with a visualization. The server includes amodalDialog(renderPlot())
call, and theplotOutput()
UI element is not included/necessary. ThewithSpinner()
function is not compatible as a wrapper torenderPlot()
. For example, I cannot usemodalDialog(withSpinner(renderPlot()))
. The following error message is produced:Is there any workaround or hack to making this work?