cloudinary_magento2 icon indicating copy to clipboard operation
cloudinary_magento2 copied to clipboard

Product gallery sliding issue on Hyva RTL theme

Open itaymesh opened this issue 10 months ago • 2 comments

Hi @wissam-khalili, I hope you're doing well. We upgraded the module and set it up on our staging environment. At this point, we found one issue. If this is out of your support scope, I will still appreciate your advice on how to fix it, and we will do it ourselves in the project scope.

Description:
There is an issue with the gallery on the product page where users are unable to view the next image when sliding to the next page. This is related to the RTL (Right-to-Left) configuration.

Steps to Reproduce:

  1. Navigate to the product page with the gallery.
  2. Attempt to slide to the next page of images.
  3. Observe that the main display area shows as empty.
  4. Slide back to the first image to confirm it is still visible.

Acceptance Criteria:

  • The gallery should allow users to navigate to the next image without displaying an empty main page.
  • The functionality should work seamlessly for both RTL and LTR (Left-to-Right) configurations.
  • Ensure that the user experience is consistent across different browsers and devices.

Link to Loom

https://loom.com/share/b440651445aa438d8f779fad927dee8a?src=composer

itaymesh avatar Mar 13 '25 12:03 itaymesh

Thanks, Itay. We've raised this internally (ref MAG-872) and will report back here once we have some news to share.

dannyv-cloudinary avatar Mar 13 '25 12:03 dannyv-cloudinary

Hi again Itay.

We will address this long-term, but in the meantime, you should be able to add some CSS to the gallery div as a workaround, setting the direction to ltr. Something along the lines of this should do the trick

#my-gallery {
  direction: ltr;
}

Could you please give this a try and let us know how it goes?

dannyv-cloudinary avatar Mar 20 '25 16:03 dannyv-cloudinary