• Resolved JeanThoumelin

    (@jeanthoumelin)


    Hi,

    The event bubbles are shown fine when clicking on a day that contains an event.
    But after changing the month (next or previous) they are not shown anymore when clicking on a day that contains an event.
    If I go back to the initial month (=the current month), they are not shown either.

    I have looked a bit at the code, and it appears that, after changing the month, the ‘show’ event callback defined in the default-calendar.js (line 393) is not called when clicking on a day that contains an event.

    Some additionnal information:
    # the bug is not always reproductible. Sometimes…everything works fine! But it doesn’t work 4 times out of 5…
    # on the dev version (https://dev.footballgaelique.usliffre.org/) it seems to work fine. But the dev version is not exactly the same (we don’t really use it…)
    # with the default “Twenty Twenty” theme, everything seems to work fine
    # I recently updates WordPress from 5.2.3 to 5.3 and I have the feeling it was working fine with the previous version
    # the PHP version is quite old (5.6.40)
    # the issue occurs with Firefox, Chrome and Edge (I have not tested other browsers)

    Thank you!

    • This topic was modified 5 years, 2 months ago by JeanThoumelin.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter JeanThoumelin

    (@jeanthoumelin)

    Well, I figured out the issue comes from a “custom-calendars.js” script (written by my predecessor) that overwrites click events handling.

    The registration of click event on days was made too soon : before actually updating the month, so on the “old” month days.

Viewing 1 replies (of 1 total)
  • The topic ‘Event bubble doesn’t show after changing month’ is closed to new replies.