Closed acentoweb closed 5 years ago
Thanks @prestarocket . Same results
Perhaps, a good idea would be:
it s not linked to the theme, same pb with classic theme : http://demo.prestashop.com
but you can fix it by making add to cart button disabled after first click, and enabling it after updatedCart
done
it s not linked to the theme, same pb with classic theme : http://demo.prestashop.com
Hi @prestarocket I'm sorry but I fail to reproduce the behavior 🤔 can you please tell me exactly what I must do to see the bug and what is expected ?
Right now on http://demo.prestashop.com/#/en/front:
I tried a very quick double-click too, I got nothing that looks weird
it s not linked to the theme, same pb with classic theme : http://demo.prestashop.com
Hi @prestarocket I'm sorry but I fail to reproduce the behavior 🤔 can you please tell me exactly what I must do to see the bug and what is expected ?
Right now on http://demo.prestashop.com/#/en/front:
- if I click ton 'add to cart' the modal opens
- if I click on 'continue shopping' the modal disappears
- if I click on 'add to cart' while the modal is opened, the modal disappears too
I tried a very quick double-click too, I got nothing that looks weird
click like a crazy man before modal opens :)
it s not linked to the theme, same pb with classic theme : http://demo.prestashop.com
Hi @prestarocket I'm sorry but I fail to reproduce the behavior 🤔 can you please tell me exactly what I must do to see the bug and what is expected ? Right now on http://demo.prestashop.com/#/en/front:
- if I click ton 'add to cart' the modal opens
- if I click on 'continue shopping' the modal disappears
- if I click on 'add to cart' while the modal is opened, the modal disappears too
I tried a very quick double-click too, I got nothing that looks weird
click like a crazy man before modal opens :)
OK like reaaaaaaal crazy then 😄 I got it
I submitted the bug https://github.com/PrestaShop/PrestaShop/issues/15483 for classic theme 😉
a solution could be to add to css style:
.add-to-cart.is--loading { pointer-events: none !important; cursor: none !important; }
reproduction:
If you remove
from theme.js the problem is solved