Open MikeBadescu opened 6 years ago
I'm not opposed to this change, but the arrows work for me locally on macOS/Safari and don't when I publish it to shinyapps.io. Out of curiosity, does this have to do something with being in an iframe or something like that once it's published to shinyapps.io?
I am not JS expert, but based on the stackoverflow answer I expect it has something to do with the <base href=" ... ">
declaration (see page source), which might be specific to shinyapps.io. I do not know yet if this is relevant to Shiny Server itself.
that makes sense, thanks
Arrows do not work in WebKit (iPad, Safari) due to treatment of
url(...)
in WebKit. For this issue (and possible fixes), please see https://stackoverflow.com/a/29984481I made one small change (added
location.href
) and now it seems to behave as expected.Here is the sample Shiny app I used for testing. I have deployed it at https://numeract.shinyapps.io/test/ (it includes the suggested change).