7of9 Hi. Please try to add this to css:

@media (max-width: 767px)
.off-canvas #off-canvas-nav .t3-megamenu .mega-nav > li a,
.off-canvas #off-canvas-nav .t3-megamenu .dropdown-menu .mega-nav > li a {
    touch-action: manipulation;
}
}
  • 7of9 replied to this.

    teitbite That only fixed part of the problem. When I am just tapping on the menu item, it works fine. When I am expanding the menu and scrolling down to see more menu items, from the phone, it still triggers click on menu item I initiated the scroll and the URL is wrong, so I get a 404 error. This only happens on phones. ie: Android, iPhone.
    Please check an old video I had uploaded when it was doing it on the desktop as well: https://i-seo.tinytake.com/sf/MzIzNzgxOF85Njk5ODI1
    This happens on the phones and does not load the page, it returns a 404 error, since the URL is wrong.
    Click should NOT be triggered on scrolling.

    Please advise.

    Please advise.

      7of9 Hi. I'm not sure if it's possible from styling point of view to disable that. I've just checked one unrelated site and it works same way. Anyway please try with this addon:

      .off-canvas #off-canvas-nav .t3-mainnav .nav-collapse {
      overflow-scrolling: touch;
      }
      • 7of9 replied to this.

        teitbite Applying the code has no effect. Click is still triggered on scroll with wrong URL that creates a 404 error. URL is: https://www.dogbows.gr/en/beds-en-gb while it should be: https://www.dogbows.gr/en/shop-en-gb/all-categories-en-gb/beds-en-gb
        Also it now has the same issue on desktop as well and wrong URL is also when you just click without any scrolling.
        I found out that the URL is correct when you are in the home page, but when you are in the categories page, the URL breaks.
        Please check the video: https://i-seo.tinytake.com/sf/MzI0MzU2N185NzE5NDI0

        Any ideas?

          7of9 Hi. I have a small idea to disable links when page is being scrolled, which should allow to scroll while having a finger on a links. Try use this script:

          var disable_click_flag = false;
          
          $(window).scroll(function() {
              disable_click_flag = true;
          
              clearTimeout($.data(this, 'scrollTimer'));
          
              $.data(this, 'scrollTimer', setTimeout(function() {
                  disable_click_flag = false;
              }, 250));
          });
          
          $("body").on("click", "a", function(e) {
              if( disable_click_flag ){
                  e.preventDefault();
              }
          });

          but for the bad link I'm not sure how is it even possible. Please try delete the script I gave You before, maybe this is the thing breaking it.

          • 7of9 replied to this.

            7of9 Hi. In template's configuration You will find a place for custom script. Any field should do, but please remember to use:

            <script></script>

            around it.

            • 7of9 replied to this.

              7of9 Hi. Script is showing an error in console.

              (index):84 Uncaught TypeError: Cannot read property 'on' of null

              lets try to change it a little:

              var disable_click_flag = false;
              
              $(window).scroll(function() {
                  disable_click_flag = true;
              
                  clearTimeout($.data(this, 'scrollTimer'));
              
                  $.data(this, 'scrollTimer', setTimeout(function() {
                      disable_click_flag = false;
                  }, 250));
              });
              
              $('body a').click(function(e){
                  if( disable_click_flag ){
                      e.preventDefault();
                  }
              });
              • 7of9 replied to this.

                teitbite Still no affect. I am wondering: Couldn't you test your code with the template before you send it to me, or couldn't you use the credentials I already have provided to do the changes directly on the website? That way we can save time. Thank you in advance.

                  7of9 HI. I've adjusted the code, but I'm afraid this will not work as well. I honestly do not know how to fix this particular issue since Your site is acting odd in this way. So I've checked a clean installation of JA Hawkstore and there is no such issue. So I'm guessing the problem may be because of modifications or becasue of one of 3rd party extensions. Can You please tell me which extensions been installed since launch so I will try disable them one by one till I find the one responsible.

                  • 7of9 replied to this.

                    teitbite I am afraid I have to disagree with you. The problem exists in your demo website as well: https://ja-hawkstore.demo.joomlart.com/index.php/en/
                    I had posted in the past a video about this in your demo site. However, I just created a fresh one here:
                    https://i-seo.tinytake.com/sf/MzI1MjcyMV85NzQzOTI2
                    So as you can see it is not an issue of my website and it does not have to do with any extension.

                    This is a major issue. I am having this issue on a live website and this affects the sales!
                    I am having this problem for almost two months now. Do you think you could fix it any time soon?
                    We are loosing money every day! PLEASE!

                    @saguaros you were looking at the issue initially. Any thoughts. Anybody help please!!! 🙁((((((

                      7of9 Hi. I've been checking on my copy, not a demo, so thanks for showing me that. Unfortunately there is no code which can cause such action, due to that I have no idea how to solve it currently. I've tried couple of idea and the last one with the script blocking links while scrolling was quite promising, but failed as well since click starts before scrolling.

                      I will ask developers for help here, hopefully they've came across such thing before and will know what to do.

                      saguaros
                      Hi,

                      Updated this file on your site: /templates/ja_hawkstore/js/script.js

                      Kindly check it now.

                      Hi @saguaros ,

                      Thank you SO very much for looking into the problem. I confirm that the scrolling problem has been resolved. However, the problem with the 404 (bad URL) remains. When I click any menu item from a page other than the home page, the URL is wrong and I get a 404. I wonder if that has anything to do with any of the changes teitbite gave me, for they are still active, unless you took them off. Please check my video: https://i-seo.tinytake.com/sf/MzI1ODc0MV85NzU5MTA1

                      Thank you in advance.

                        7of9
                        Hi,

                        Thanks for the video, did you have customization on the off-canvas menu? as I can't replicate the same issue on our demo site.

                        • 7of9 replied to this.

                          saguaros It was caused by the code @teitbite asked me to put on the head and template. Once I removed it, the problem went away. Thank you for your help on this issue.

                            7of9 Hi. Och yes, so sorry. I thought if my code wasn't working it will be removed. Should have mentioned that. Great Saguaros has been able to fix this problem. Is everything ok now or do You want us to look into something else still?

                            • 7of9 replied to this.

                              teitbite Unfortunately, the customer is very unhappy with our response time. Since the majority of their clients use their phone to order, this problem flat lined their sales throughout the duration of the issue. This resulted to losing a good customer we had for over 10 years. Although we managed to resolve the problem, this is a major blow to our business. 🙁 I personally am very unhappy about the quality of the support I received recently by Joomlart. I am a Joomlart customer for over 10 years and this is the first time I experience this and even more since from the beginning I urged you about the importance of this issue.

                              I would appreciate a prompt reply, since this is a live website.
                                You need to Login to view replies.