This is a common mistake. I believe this is due to the version of Shiny you are using, as well as your default browser. There is currently no solution for this. I do not think that this problem occurs if you launch the application in a window, only for the viewing panel and external (again, depending on the web browser).
source share