rstudio/shiny
Ver no GitHubPrinting within Chrome causes href to be displayed on download button
Open
#2.447 aberto em 24 de mai. de 2019
Effort: LowHelp WantedPriority: LowType: Bug :bug:
Métricas do repositório
- Stars
- (5.649 stars)
- Métricas de merge de PR
- (Mesclagem média 9d) (4 fundiu PRs em 30d)
Description
System details
Browser Version: Chrome (only one tested)
Example application or steps to reproduce the problem
- Visit https://gallery.shinyapps.io/010-download/
- Print the page to a pdf
- View large href in download button

Describe the problem in detail
Community post: https://community.rstudio.com/t/download-button-appears-with-session-information-when-printing-paper/30873
Known fix: https://stackoverflow.com/questions/7301989/need-to-remove-href-values-when-printing-in-chrome
@media print {
a[href]:after {
content: none !important;
}
}