Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile: Opacity is staying at 0 on every other element #122

Open
mattwillmott opened this issue May 19, 2017 · 1 comment
Open

Mobile: Opacity is staying at 0 on every other element #122

mattwillmott opened this issue May 19, 2017 · 1 comment

Comments

@mattwillmott
Copy link

I have the zoom working perfectly on a Shopify store with the product image and also thumbnails.

On desktop it all works fine for every image. The thumbnails switch to the main image when clicked, and the zoom works on the main larger image even if it's been changed to one of the thumbnails.

However on mobile the zoom effect only works on every other image. I've checked in Browserstack and it appears that everything works as expected apart from the opacity property, which stays at 0 for every other image but works for the ones in between.

And to top it all off, it's not always the same images with the problem. Sometimes it's the 1st, 3rd, and 5th thumbnails that once swapped in won't zoom, and sometimes is the 2nd, 4th, and 6th. I've just figured out that it's every other image from whichever thumbnail I click after the page loads.

At a bit of a loss as to what's causing opacity to not transition to 1 on alternate images, so any help would be hugely appreciated.

@ed-codes
Copy link

Having the same issue, also on a Shopify store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants