Hi, I added a scroll button to my store, which takes you to the top of the page when clicked. However, on mobile, if I scroll halfway down the store and then click on the header, the button remains visible.
How can I make it disappear when I click on the header? Basically, I want the button to be active only on the main pages. If I click on the header, it should vanish, but when I navigate back, it should reappear.
Here’s my store: https://1049xn-ya.myshopify.com/
As I mentioned, this is for mobile
Thanks a lot,
Tim

