Fullcalendar does not show in Tab

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 7 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29424

    Hi,

    I created two tabs, the first shows [event_board] and the second shows [eo_fullcalendar defaultView=’month’ headerCenter=’month,basicWeek’].
    The Posterboard loads without any problem, while the full calendar doesn’t show anything until I click on any button.
    For testing only, I placed the exact same fullcalendar shortcut directly below, which loads okay.
    You can see the issue here: https://circleyoga.de/wp/termine/#termine

    Any idea how to solve that?

    Thanks, Florian

    Florian Werbinek
    #29440

    Hi Florian,

    This is a known issue with fullcalendar. This has been discussed before, on either this site or the wordpress.org forums, but unfortunately I cannot find the link. If I recall, you might be able to re-render the calendar inside the tab when that tab is clicked. Something like:

    $('.my-tab').on( 'click', function() {
        $(this).find('.eo-fullcalendar').fullCalendar('render');
    });
    
    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.