Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loading on checkout #183

Open
peppebns opened this issue Jul 29, 2021 · 2 comments
Open

Infinite loading on checkout #183

peppebns opened this issue Jul 29, 2021 · 2 comments

Comments

@peppebns
Copy link

I use this package on a e-commerce.
Customers report that sometimes appears an infinite loading on checkout.

Any ideas?

Thanks

@EnjoX
Copy link

EnjoX commented Oct 21, 2021

I'm facing the same problem, i fixed this by adding a sleep in the onClick

onClick: (data, actions) => { console.log('onClick', data, actions); this.sleepFor(100); }

sleepFor
sleepFor(sleepDuration: number) { const now = new Date().getTime(); while (new Date().getTime() < now + sleepDuration) { /* Do nothing */ } }

I'm not sure why this happens

@JonasGrunau
Copy link

I got the same problem, the sleep does not fix it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants