Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable routing when in an iframe #58

Open
emilmahler opened this issue Nov 20, 2018 · 4 comments
Open

Disable routing when in an iframe #58

emilmahler opened this issue Nov 20, 2018 · 4 comments
Assignees

Comments

@emilmahler
Copy link

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 #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.

@marekrogala
Copy link

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?

@emilmahler
Copy link
Author

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?

@marekrogala
Copy link

@emilmahler thanks. I hope @dokato will be able to help

@krystian8207
Copy link
Contributor

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants