Please deactivate all the plugins not related to the theme and switch the parent theme, check the issue, If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
if the problem remains, provide your site admin access to the private area.
Please have a look at the site: https://woodmart.xtemos.com/ the top button works on click. It appears when the page is scrolled down to the button and returns the user up on click.
If your button works in a different way, deactivate all the plugins not related to the theme and switch the parent theme, check the issue, If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
Yes, I understand it does what it is supposed to do.
But I also need to add an extra action to it, but in code, there is “return false” and I can’t add the extra event. And I don’t understand why “return false” is needed in your JS.
I want to track whether visitors are actually using this button or is it just wasting viewport room.