Shopify themes, liquid, logos, and UX
Hey guys, I’m having a bug with the currency selector in the footer on mobile. When I click on it, it opens normally, but after I close it, I can’t scroll anymore.
The only thing I can do is click on something or refresh the page.
How can I fix this?
Here’s where you can check it out: https://1049xn-ya.myshopify.com/collections/all
THIS ONLY HAPPENS ON MOBILE!
Thanks for the help,
Tim
Solved! Go to the solution
This is an accepted solution.
Hello Tim,
From what I can see, there is an issue with some script inside the 'localization-form.js', it adds a class
'.overflow-hidden-mobile' to the 'body' but it doesn't remove it when you click on the 'x' or escape.
Or you can do css:
@media screen and (max-width: 768px) {
body {overflow: auto!important;}
}
Maybe this will help.
This is an accepted solution.
Hello Tim,
From what I can see, there is an issue with some script inside the 'localization-form.js', it adds a class
'.overflow-hidden-mobile' to the 'body' but it doesn't remove it when you click on the 'x' or escape.
Or you can do css:
@media screen and (max-width: 768px) {
body {overflow: auto!important;}
}
Maybe this will help.
Hey, thanks so much! I added the CSS, and it looks like it’s working.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024