Open jtrecenti opened 4 years ago
Hi,
I'm using {shinyjs} in Imports and my auth0::logoutButton() is causing "Disconnected from Server".
I'm using {golem} and added the dependency with the function usethis::use_package("shinyjs").
I'm also using shinyjs::useShinyjs() in the app_ui.R.
Is there any workaround?
It's not a bug.
When using shinyapps.io, we must tell that
{shinyjs}
package is required in order to make thelogoutButton()
work. As it is only aSuggestion
, the app halts.Example.
Works:
Does not work (when clicking logout)
Maybe we should reconsider past decisions and put
{shinyjs}
toImports
again?