title: How to isolate conditional panels from other conditional panels when axis scroll involves one panel and not the other?
body: <p>In the below reproducible code, two main conditional panels are presented: &quot;Stratification&quot; and &quot;DnL balances&quot;. The first presents a smaller data table where no scroll bars are automatically introduced, and the 2nd presents a larger data table where scroll bars are introduced.</p>
  <p>The scroll bars in one conditional panel appear to be affecting the other conditional panel. I have tried addressing with <code>style = &quot;display: none;&quot;</code> (based on a related post yesterday), flagged with ### in this reproducible code, but it leaves the 2nd conditional panel without the glide/well panel across the top unless the user adjusts the size of the window, however minutely. Yesterday's posted solution worked fine, but that code didn't render a data table. When introducing a data table and resulting scroll bars, the issue manifests.</p>
  <p>Is there a way to resolve this? May be a hack, but even a tiny automated adjustment to the size of the window may help?</p>
  <p>The images at the bottom better explain the issue.</p>
  <pre><code>library(shiny)
  library(shinyglide)
  library(shinyjs)
  library(shinyWidgets)
  
  ui &lt;- 
    fluidPage(
      useShinyjs(),
      tags$style(&quot;.glide-controls { position: absolute; top: 8px; right: 14px; width: 160px; }&quot;), 
      titlePanel(&quot;Hello&quot;),
      sidebarLayout(
        sidebarPanel(selectInput(&quot;selectData&quot;, h5(strong(&quot;Select data to view:&quot;)),choices = list(&quot;Stratification&quot;,&quot;DnL balances&quot;),selected = &quot;Stratification&quot;)),
        mainPanel(
          tabsetPanel(
            tabPanel(&quot;Private data&quot;, value = 1,
              div(style = &quot;margin-top:10px&quot;),
              conditionalPanel(condition = &quot;input.selectData == 'Stratification'&quot;,
                fluidRow(
                  column(12,
                   glide(
                     custom_controls = div(class = &quot;glide-controls&quot;, glideControls()), 
                     screen(
                       wellPanel(
                         radioButtons(
                           inputId = 'groupStrats',
                           label = NULL,
                           choiceNames = c('Calendar period','MOB'),
                           choiceValues = c('Period','MOB'),
                           selected = 'Period',
                           inline = TRUE), 
                       style = &quot;padding-top: 12px; padding-bottom: 0px;&quot;) 
                       ), 
                     screen(
                       wellPanel(
                         radioButtons(
                           inputId = 'stratsView',
                           label = NULL,
                           choices = list(&quot;Table view&quot; = 1,&quot;Plot view&quot; = 2),
                           selected = 1,
                           inline = TRUE), 
                       style = &quot;padding-top: 12px; padding-bottom: 0px;&quot;) 
                     ) 
                   ) 
                  ) 
                ),
                fluidRow(tableOutput(&quot;mtCarsPart&quot;)),
              
                conditionalPanel(condition = &quot;input.stratsView == 2&quot;, style = &quot;display: none;&quot;, fluidRow(column(12, plotOutput(&quot;stratPlot&quot;))))
              ),
              ### comment out &quot;style...&quot; in line below to see the issue ###       
              conditionalPanel(condition = &quot;input.selectData == 'DnL balances'&quot;, style = &quot;display: none;&quot;,
                fluidRow(
                  column(12,
                    glide(
                      custom_controls = div(class = &quot;glide-controls&quot;, glideControls()),
                      screen(
                        wellPanel(
                           radioButtons(
                             inputId = 'groupBal',
                             label = NULL,
                             choiceNames = c('Calendar period','MOB'),
                             choiceValues = c('Period','MOB'),
                             selected = 'Period',
                             inline = TRUE),
                        style = &quot;padding-top: 12px; padding-bottom: 0px;&quot;)
                      ),
                      screen(
                        wellPanel(
                          radioButtons(
                            inputId = 'balView',
                            label = NULL,
                            choices = list(&quot;Table view&quot; = 1,&quot;Plot view&quot; = 2),
                            selected = 1,
                            inline = TRUE), 
                          style = &quot;padding-top: 12px; padding-bottom: 0px;&quot;) 
                      )
                    )
                  )
                ),
                fluidRow(tableOutput(&quot;mtCarsFull&quot;))
              ) 
            ), id = &quot;tabselected&quot;  
          ) 
        ) 
      ) 
    ) 
  
  server &lt;- function(input, output, session) {
    output$mtCarsFull &lt;- renderTable(mtcars)
    output$mtCarsPart &lt;- renderTable(mtcars[1:10,1:3])
  }
  
  shinyApp(ui, server)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/TWLcM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TWLcM.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/BQMa9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BQMa9.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/kAd5z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kAd5z.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/csVGl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/csVGl.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/OqNSp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OqNSp.png" alt="enter image description here" /></a></p>