• Resolved damianba

    (@damianba)


    Hello,
    after inserting calendar shortcode inside Tab widget, calendar refuse to show time blocks on page initialisation.
    However after I resize the window, everything snaps into place correctly.

    Is there a way to force reload window size or something to fix this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter damianba

    (@damianba)

    self answered:
    This is an issue regarding tabs widget not properly initialised content inside.
    To force windows resize after tab is loaded, just add something like this

    <script type="text/javascript">
     jQuery(function($) {
      $("a.w-tabs-item").click(function(){
       $(window).trigger('resize');
      });
     });
    </script>
    Plugin Author moiseh

    (@moiseh)

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Calendar won’t show blocks until window resize’ is closed to new replies.