I had similar problems with Astra Theme and WooCommerce and deleting all the scripts in the “Delay JS inline scripts” fixed it. Here is my issue for reference.
In my case the Mobile Toggle menu was not working on WooCommerce pages (shop and products), but it was ok on homepage or contact pages (non-woocommerce). The console shows errors of functions not defined, functions that based on the name where related to the mobile toggle button.
I looked everywhere and it wasn’t until I was playing around with cache taht I decided to deactivate Breeze. This fixed the issue. Then I found this thread and deleted everything in the “Delay JS inline scripts” section even though my script or Astra scripts were not there. That fixed it.
My setup is Cloudways hosting. Breeze and Cloudflare plugins.