0

I'm in the process of creating my first Shiny App, and there are two portions of the UI that include details/summary accordions. For some reason, Chrome (on desktop) is not displaying the dropdown arrows; mobile Chrome and other browsers are handling them fine.

An example of the UI code is as follows:

tags$details(htmlOutput("FPD_programs_2"),
                      tags$summary(
                        tags$b("Reform programs"),
                      )
         ),
tags$details(htmlOutput("FPD_programs_3"),
                      tags$summary(
                        tags$b("Miscellaneous"),
                      )
         )

In Safari, this code displays appropriately:

Safari display

but on Chrome it does not:

Chrome display

I've only been able to find similar inquiries in some Wordpress threads that suggested that a details argument (display=block) might be connected to this issue. I've fiddled with including display="block" and display="list-item" within both the tags$details() and tags$summary() portions of my code, and nothing has changed in the output. (I'm not even sure if these are arguments that Shiny recognizes, but I figured it was worth a shot!)

I don't know if there's anything I can do on my end to get these arrows to appear or if it's a problem with the current version of Chrome, but any guidance you might have is super appreciated!

Sarah
  • 1
  • 1
  • The best way to get great answers quickly is to provide a reproducible example. For someone to troubleshoot your issue, they will probably need to see your programming code. To write a great question, read about how to make reproducible examples for R here: https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – Kat Aug 06 '21 at 02:38

0 Answers0