Hello, I would like to know how I can make it that when MOBILE customers are in the cart drawer, that they can’t scroll. Customers are able to scroll in my cart drawer, but they scroll the actual website in the back, so the checkout button is moving whole time when scroll in the cart drawer. [ Mobile only ]
I want it that you aren’t able to scroll anywhere in the cart drawer, please help!
Hi @itsmebob
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.
1 Like
Hi @itsmebob ,
Please send your site and if your site is password protected, please send me the password. I will check it.
Hi @itsmebob
Thank you so much for reaching out to us and for your information. After checking, we saw that
the error is caused by the CSS overflow of the cart not working as expected in the Safari browser.
So we will have to solve them with the JavaScript file in your theme.js file. You just need to go to Theme > Edit code > and find the theme.js file:
-
In this file, you just need to find the same code as above. The code wrapped in it will handle the Cart opening and closing logic.
-
Then add the two red-circled codes below to the open and close functions like the image below.
It will help you turn on or off the scroll of the web page background when opening and closing the Cart.
I hope that this can help you solve the issue.
1 Like
You are the best help you can get on this community forum!
1 Like
We’re happy to see that our solution helped you solve the issue
@itsmebob
1 Like