You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Shiny app that uses shiny::renderUI() to dynamically render a shinyFeedback::loadingButton(). Despite the button being rendered correctly, calling shinyFeedback::resetLoadingButton() later on fails to actually reset the button.
Thanks for the informative issue & reprex! You're correct about the cause of the issue. We plan to have this fixed in the next minor CRAN release of shinyFeedback.
Feel free to make a PR if you need this addition ASAP. Otherwise, I'll update you on the fix as soon as it's added to the development version.
I have a Shiny app that uses
shiny::renderUI()
to dynamically render ashinyFeedback::loadingButton()
. Despite the button being rendered correctly, callingshinyFeedback::resetLoadingButton()
later on fails to actually reset the button.From my analysis it seems the message handler for
resetLoadingButton
is attached inloadingButton.js
(https://github.com/merlinoa/shinyFeedback/blob/master/inst/assets/js/loadingbutton.js#L77-L82) on theshiny:sessioninitialized
event. I guess this event has already been triggered before the button is rendered (andloadingButton.js
is loaded).Reprex:
The text was updated successfully, but these errors were encountered: