rstudio/shiny

Printing within Chrome causes href to be displayed on download button

Open

#2.447 geöffnet am 24. Mai 2019

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)R (1.890 Forks)batch import
Effort: LowHelp WantedPriority: LowType: Bug :bug:

Repository-Metriken

Stars
 (5.649 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 9T) (4 gemergte PRs in 30 T)

Beschreibung

System details

Browser Version: Chrome (only one tested)

Example application or steps to reproduce the problem

Screen Shot 2019-05-24 at 2 37 31 PM

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;
  }
}

Contributor Guide