Support » Plugin: WooCommerce » product image lightbox scroll direction on R2L site

  • Resolved eyeswiseopen

    (@eyeswiseopen)


    hi
    http://agambooks.com is a site of a kids books publisher with a right to left language.

    Product’s pages generally have a picture gallery with few inner pages from the book.
    When viewing the images on the product page itself, both on desktop or mobile – the scroll direction is correct as it is driven by the choices an editor of the page would make. But when it comes to the product image/gallery in the lightbox – the scroll direction is reversed showing say last page first.

    What do I need to do to fix it?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hari Shanker R

    (@harishanker)

    Automattic Happiness Engineer

    Hi @eyeswiseopen

    Sorry for the delay in getting back to you on this.

    When viewing the images on the product page itself, both on desktop or mobile – the scroll direction is correct as it is driven by the choices an editor of the page would make. But when it comes to the product image/gallery in the lightbox – the scroll direction is reversed showing say last page first.

    I tried testing this by visiting one of the products in your site: https://agambooks.com/product/%D7%99%D7%95%D7%9D-%D7%90%D7%A8%D7%95%D7%9A-%D7%9E%D7%90%D7%95%D7%93/

    I couldn’t replicate the problem directly. As you can see in the following screencast, the scroll directions look fine to me:
    https://cld.wthms.co/AkoUPe

    Am I missing something here?

    hi there

    The issue is the different direction in the 2 methods of scrolling between inner pages of a given book.

    The difference in behaviour between going through the thumbnails which is in one direction and the light box which is reversed.

    In Hebrew like with the writing direction (R2L) so is opening a book. To a latin speaking person opening a book in hebrew would look like opening the book from the back cover and going through the pages from last to first.

    This is what is going on here the inner pages of the books are ordered, but the direction of the scroll in the lightbox is like a latin book would behave, not a hebrew book.

    You would say – just change the order of the pages…

    But NO, unfortunately it is not a solution because the lightbox is in one direction and thumbnails the opposite, so whatever the order is, one of the 2 methods of scrolling between pages would be in the wrong direction.

    I am looking for a fix – css maybe? I could not find where to make such a change…

    Hope I explained it better and look forward to hearing from you

    Plugin Support Jesse Pearson

    (@jessepearson)

    Automattic Happiness Engineer

    @eyeswiseopen I was able to replicate this issue in my store with WooCommerce 3.6.5 and have opened a GitHub issue here:
    https://github.com/woocommerce/woocommerce/issues/24361

    I am setting this thread to resolved since it is now open there.

    thank you
    I hope it will be fixed soon

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.