• Resolved Steppppo

    (@steppppo)


    Hi there,

    First off, I really enjoy using The Events Calendar.

    I recently installed on this page and I’m seeing some strange behavior.

    The List view initially loads with one view (I’m assuming it’s the desktop view). But, if I hit the back button or specifically click on List in the dropdown, it changes to the mobile view with very large images. Then, if I click list again, it changes the view again back to the original.

    I’ve tried to diagnose it and I think it’s related to how the breakpoints are implemented via javascript but I’m not 100% sure what’s causing the problem.

    Can you look at the page and let me know if anything stands out?

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

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter Steppppo

    (@steppppo)

    Thanks Darian.

    Plugin Support Darian

    (@d0153)

    Hi @steppppo

    Thanks for patiently waiting. One of our developers just replied.

    The?afterAjaxSuccess.tribeEvents?event is triggered every time a view is changed. And you can try to wrap the code inside an event listener like this

    document.addEventListener( 'afterAjaxSuccess.tribeEvents', function() {
        var container = document.querySelectorAll( '[ data-view-breakpoint-pointer ]' );
    
        if ( container.length > 0 ) {
            window.tribe.events.views.breakpoints.setup( container );
        }
    });

    Let me know if that works for you.

    Thread Starter Steppppo

    (@steppppo)

    Thanks Darian. I’ll give it a try in a little bit and report back to you.

    Thread Starter Steppppo

    (@steppppo)

    Hi @d0153 – I added that script to the footer but there’s no change. Should I add it some other way?

    Plugin Support Darian

    (@d0153)

    Hi @steppppo

    Could I ask for the theme URL where I could download and replicate the issue on my side? I’d like to test it further on my side.

    Thread Starter Steppppo

    (@steppppo)

    Is there an email address or private DM I can use to send it to you?

    Plugin Support Darian

    (@d0153)

    Hi @steppppo

    Unfortunately, we could not provide the email address or any other contact info for the private DM.

    Do not post email addresses, ask others to post their email, or solicit contacting people off the forums.

    See- https://www.ads-software.com/support/guidelines/#the-bad-stuff

    Do you happen to have the URL of the base theme you used prior to customization? We could test if the issue also occurs there.

    Thread Starter Steppppo

    (@steppppo)

    Well, it’s a custom theme that’s based off of https://underscores.me/

    Is that helpful?

    Plugin Support Darian

    (@d0153)

    Hi @steppppo

    I tried testing the theme you provided, but I was not able to replicate the issue you’re experiencing.

    By any chance, do you have a template override for the events calendar applied inside your theme? If so, please try removing them temporarily and see if that makes a difference.

    Let me know how it goes.

    Plugin Support Darian

    (@d0153)

    Hi @steppppo

    I hope everything is going smoothly for you. I just wanted to touch base and inquire if you had the opportunity to review my previous response as it has been some time since we last heard from you.

    Plugin Support Darian

    (@d0153)

    Hello there,

    It seems like it has been some time since we received a response from you, therefore, I will consider this matter as resolved. If you require any further assistance, please do not hesitate to start a new thread.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Problem with breakpoints?’ is closed to new replies.