Ajax breaks the product slider
-
When the page/section is reloaded by Ajax, the slider breaks. It changes from horizontal to vertical and is no longer a slider. For example, when it is placed in the cart collaterals section of the woocommerce cart, which is typically where cross-sales go, it breaks whenever the cart is updated by ajax. See here: https://www.loom.com/share/8fe12959729a4dd88284fe4ff929abfb.
Also, wherever it is displayed, is there a way to get it to start horizontally instead of starting vertically and then jumping to a horizontal layout once it calculcates the sizes? The layout shift is not ideal for Google’s page experience metrics.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Ajax breaks the product slider’ is closed to new replies.