To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.
It means that the error exists with other themes as well. Try to disable all plugins temporarily test how it works without plugins and with default theme.