- This topic has 15 replies, 3 voices, and was last updated 4 years, 8 months ago by
David.
-
AuthorPosts
-
July 23, 2021 at 3:08 pm #1868507
nanoprobes
I’m having a problem on mobile with the menu. When you enlarge a Woocommerce product image with the magnification icon and go to close it with the X (upper right corner), the main menu automatically opens. It happens on my mobile phone with Chrome.
July 23, 2021 at 3:14 pm #1868511Leo
StaffCustomer SupportHi there,
I just tested your site on my iPhone with Chrome and couldn’t replicate the issue at all.
Do you experience the issue here as well?
https://gpsites.co/seller/product/happy-ninja-hoodie/Can you try using browser incognito mode or another browser to test?
Thanks!
July 23, 2021 at 3:22 pm #1868523nanoprobes
Well that sucks. Just tried android Firefox and Chrome and it does the same thing. Incognito mode doesn’t make any difference. You site library Target theme works however on my phone. It’s just my website on mobile.
The X to close button and my Menu button are almost overlapped in the same location. Maybe that’s the cause?
July 23, 2021 at 3:25 pm #1868526Leo
StaffCustomer SupportHmm that’s strange.
Can you disable all plugins except GP premium and WooCommerce in your site?
July 23, 2021 at 3:47 pm #1868539nanoprobes
Yea just did all that. Nothing seems to work. I think it has to do with buttons overlapping. If I rotate my phone (horizontal view) and enlarge the photo and go to close it, the search bar actually opens.
July 23, 2021 at 3:54 pm #1868544nanoprobes
I can make it happen on your default Site Library Target theme on my phone. If you go to a product, scroll down just a tad and enlarge the photo and close it, the menu opens
July 23, 2021 at 4:04 pm #1868547Leo
StaffCustomer SupportHmm I tried like 20 times and make sure to scroll down so the close button overlaps with the menu toggle but still couldn’t replicate the issue.
Just to make sure, the issue happens on this page for you?
https://gpsites.co/seller/product/happy-ninja-hoodie/July 23, 2021 at 4:09 pm #1868551nanoprobes
No, the Target theme. It happens on every website I have Generatepress installed on too with default theme. Just looked. It happens on the site library Shop theme also on my phone.
July 23, 2021 at 4:15 pm #1868556Leo
StaffCustomer SupportI’ve tested and default Shop and Target but could not replicate the issue.
We haven’t had other reports on this as well.
I’ve requested other members from our team to test as well and will report back.
In the mean time, do you happen to have another device to test? Maybe a friend’s phone?
July 23, 2021 at 4:41 pm #1868570nanoprobes
Thanks, please get back to me if others find it happening with their Woocommerce store. I’ll check my friends phone later tonight. Seems to only happen on my Android when the buttons are overlapped.
July 23, 2021 at 6:58 pm #1868616nanoprobes
Every phone I looked at does it. No one I know owns an iphone, just Androids. No idea why you’re the only one not seeing it.
July 24, 2021 at 4:10 am #1868892David
StaffCustomer SupportHi there,
i tested on my iphone and i couldn’t replicate the issue. But i found that other users reported this bug to Woocommerce:
https://github.com/woocommerce/woocommerce/issues/25458
Unfortunately it doesn’t look like Woo are going to fix it:
https://github.com/woocommerce/woocommerce/issues/29800
Options:
1. Disable the Lightbox – is the lightbox necessary ?
2. Try adding this CSS to move the lightbox UI down so it doesn’t sit over the mobile header:.pswp__top-bar { top: 60px !important; }July 24, 2021 at 6:26 am #1869017nanoprobes
Anyone there own android or is business that good you all own 5 billion dollar iphones? Let’s just get rid of lightbox all together instead of moving it. Moving it down just opens the secondary menu in Target theme on close instead of the main menu now.
July 24, 2021 at 7:47 am #1869091David
StaffCustomer Supporti still run an old second hand iPhone 7+ 🙂
It is something that Woo should fix, although they seem to be reluctant to recognise what is a known bug with the current version of the lightbox they use.You can add this PHP Snippet to your site to disable the woo lightbox:
function remove_image_zoom_support() { remove_theme_support( 'wc-product-gallery-zoom' ); remove_theme_support( 'wc-product-gallery-lightbox' ); } add_action( 'wp', 'remove_image_zoom_support', 100 );This article explains how to add the code:
https://docs.generatepress.com/article/adding-php/
Good news is removing the lightbox should help with performance as its less code to be loaded.
July 24, 2021 at 1:31 pm #1869500nanoprobes
It’s too bad none of you can see it happening. It isn’t good. It gets in the way of everything. But, the code works nicely. I do like the wc-product-gallery-zoom, so I kept that.
It’s probably why most of the new themes at Woocommerce have the mobile menu on the left-hand side.
-
AuthorPosts
- You must be logged in to reply to this topic.