JohnCoene / cicerone

🏛️ Give tours of your Shiny apps
https://cicerone.john-coene.com
Other
187 stars 7 forks source link

Issue with renderUI() & close status #4

Open aavanesy opened 4 years ago

aavanesy commented 4 years ago

Hi,

I have an issue and a question:

  1. Elements directly in ui.R work just fine but not when rendered in server.R In the example below: ap and ap2 work well but ap3 is ignored.

in ui.R

absolutePanel(id = 'ap',top = 20, left = 50, width = 400, height = 30,
                tags$style(type = "text/css", '.well{height: 30px;border-bottom: none; opacity: 0}'),
                wellPanel() ),

absolutePanel(id = 'ap2',top = 234, left = 25, width = 300, height = 36,
                tags$style(type = "text/css", '.well{height: 30px;border-bottom: none; opacity: 0}'),
                wellPanel() ),

uiOutput('ap3')

in server.R

 output$ap3 = renderUI({
    absolutePanel(top = 400, left = 25, width = 300, height = 36,
                  tags$style(type = "text/css", '.well{height: 30px;border-bottom: none; opacity: 0}'),
                  wellPanel() )
  })
  1. Is there a status check on the interface? I would like to run a script on close or have a boolean/reactive value which returns a value when cicerone is running.

Thank you