Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1070358
    vgnberg
    Participant

    Hi guys

    Happy 4th !!!!
    This has been an issue for a long time, can’t figure it out.
    I am using anchors to link to various areas within the same page (see example below) and it works great.
    the problem is in mobile – if user scrolls down on the page and by accident his fingers touches the link (not clicking, just scrolling) it will jump to the section as the link was clicked.

    This doesn’t happen on other websites. Is there a way to fix that or are there other ways to achieve linking on the same page without this issue ?

    Thanks
    Adam

    Link to section 4
    <div id=”section-4″>
    section 4
    </div>

    #1070411
    Rupok
    Member

    Hi there,

    Thanks for writing in! If someone touches (tap) then it will be treated as click on mobile and that’s pretty usual. But scrolling should not trigger the link.

    To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1070433
    vgnberg
    Participant
    This reply has been marked as private.
    #1070767
    Lely
    Moderator

    Hi There,

    Thank you for the URL. Unfortunately, tap(touches) is a tap no matter what. Accident or not. Since it is a link it will trigger the scroll. That’s why we do have accidental like on Facebook. When you’re scrolling and unintentionally tap the like button. This is how it works by default. It might be possible to alter this behavior via customization but that would be outside the scope of our support. This link might help: http://stackoverflow.com/questions/13513077/disable-links-when-clicking-and-dragging-to-scroll-jquery

    #1071630
    vgnberg
    Participant
    This reply has been marked as private.
    #1072078
    Rad
    Moderator

    Hi there,

    It’s because Oxy-Powder is linking outside, and it’s default behavior of the mobile browser. While learn more is linking within using hash/anchor, and since it’s local to page, it will be triggered right away. Would you mind providing the other sites that prevent accidental touch/tap? Or do you just wish to disable the scrolling?

    Even facebook can’t prevent accidental-like on mobile (browser base). I still don’t see a device’s browser that can distinguish between accidental and intentional touch/tap. Though, I like to see more details of the issue if there is a misunderstanding.

    Possible by checking the duration of touch/tap https://adwords.googleblog.com/2016/05/preventing-accidental-clicks-for-better-mobile-ads.html , but what if the accidental touch is fast too, and that’s for mobile apps and not for the browser.

    Thanks!

    #1072343
    vgnberg
    Participant
    This reply has been marked as private.
    #1072535
    Rad
    Moderator
    This reply has been marked as private.
    #1073982
    vgnberg
    Participant
    This reply has been marked as private.
    #1074308
    Paul R
    Moderator

    You’re welcome! 🙂

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