Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1022344
    Amaravati
    Participant

    Hello Theme X,

    Our accordion were not working for some time on our site, and finally try to find a fix. Your forum mentioned this:
    https://community.theme.co/forums/topic/tabs-not-clickable-on-mobile-devices/

    However this didn’t do the trick for us, so we adapted it to:

     //
      // Scroll trigger.
      //
    
      $('a[href*="#"]').on('touchstart click', function(e) {
        href        = $(this).attr('href');
        notComments = href.indexOf('#comments') === -1;
        if ( href !== '#' && notComments ) {
        notAccordion = href.indexOf('#collapse-') === -1;
        notTabbedContent = href.indexOf('#tab-') === -1;
        if ( href !== '#' && notComments && notAccordion && notTabbedContent ) {
          var theId = href.split('#').pop();
          var $el   = $('#' + theId);
          if ( $el.length > 0 ) {
            e.preventDefault();
            animateOffset($el, 850, 'easeInOutExpo');
          }
        }
    }
    });

    It works now, but is this going to be implemented in the new versions? The link above was suggesting a fix around version 4.4.3, we are at 4.5.1 now.

    #1022461
    Joao
    Moderator

    Hi There,

    Thanks very much for your input to the community.

    All the best,

    Joao

    #1023685
    Amaravati
    Participant

    …hello… I was wondering whether this will be fixed in any future release? (this was mentioned here https://community.theme.co/forums/topic/tabs-not-clickable-on-mobile-devices/) This seems to just break the accordion without this ‘custom’ fix. Could you let me know whether this is a known error?

    #1023869
    Rue Nel
    Moderator

    Hello There,

    This issue is still open. This is not yet resolve in the latest release. I already personally message the developers for them to re check this issue. Once they placed a fix, it will be updated and will be rolled out in our next update release. Please bear with us. Thank you for your understanding.

    #1024141
    Amaravati
    Participant

    Thanks… will await the fix then!

    #1024492
    Joao
    Moderator

    Thanks for understanding and stay tuned 🙂

    Thanks once again for the input 🙂

    All the best.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1022344 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>