Issue while using conditional panel in shiny


My shiny app consists of a conditional panel which has sliderinput. The slider input is displayed only when a specific tab(say tab 3) is clicked. But the problem i have been facing is that all the tabs before tab 3 (say tab1, tab2) doesn’t display the plots until i click on the tab 3 first. However plots in tabs after tab 3 (say tab 4) are being displayed without clicking on tab 3 . How do i solve this problem?