Home Forums WoodMart support forum Prevent vertical scrolling while touch swiping

Prevent vertical scrolling while touch swiping

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #76850

    frontstore32
    Participant

    For mobile, I would like to know how to disable the vertical scrolling while swiping through an element (such as a the info box carousel).

    #76862

    Artem Temos
    Keymaster

    Hi,

    This function works only with our carousel elements like products, brands, categories etc. We don’t have a code to apply it for other elements on the website.

    Regards

    #76866

    frontstore32
    Participant

    Hi, I dont see it working anywhere.

    I.e. https://woodmart.xtemos.com/contact-us the brands carousel doesnt disable vertical scrolling while swiping (tested on iphone x)

    #76878

    Artem Temos
    Keymaster

    Hello,

    Sorry, you are right. This function is not working well. We are using OWL Carousel library for this and it seems to be a library’s issue that is not implemented yet. Unfortunately, we are not able to do this in our theme so we hope that it will be added to OWL Carousel in the future.

    Regards

    #76883

    frontstore32
    Participant

    It seems the function in OWL is indeed working for some users.

    Would you mind checking this post please https://stackoverflow.com/questions/43163590/disable-vertical-scrolling-on-touch-device-while-using-owl-carousel

    #76885

    Artem Temos
    Keymaster

    You can add this code to the Custom JS on document ready in Theme Settings to test it.

Viewing 6 posts - 1 through 6 (of 6 total)