shiny.router
shiny.router copied to clipboard
Disable routing when in an iframe
Is it possible to disable routing when the shiny app is launched in an iframe? In this case, the window.location variables are wrong (I guess).
The fix in https://github.com/Appsilon/shiny.router/pull/57 does not fix my use case, which is running shiny.router in combination with shinyproxy.
The reason for continuing to use shiny.router (even though the differentiated http links cannot be seen from an embedded iframe) is because shiny.router is excellent for managing apps with a complicated navigation setup.
Hi @emilmahler, thanks for the question. That's true, if the app is embedded inside an iframe, like in shinyproxy, you will not see changing url after going to different parts of the app. However, app still works correctly and you can switch between routes with links.
Can you elaborate on what is the current problem and what behavior or feature you would like to see in shiny.router to solve that?
Unfortunately shiny.router still doesn't work with ShinyProxy - running with shiny.router 0.1.1 and ShinyProxy 2.1.0. I've tried debugging it, but gotten no where. Has anyone else had success running shiny.router in a ShinyProxy environment?
@emilmahler thanks. I hope @dokato will be able to help
@emilmahler I deployed example application https://github.com/Appsilon/shiny.router/blob/master/examples/server_overwrite/app.R with Shinyproxy and everything seems to work correctly. Could you give more details about what the problem is?