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

delay when closing nomodal sdk popup #345

Open
chichke opened this issue Oct 15, 2024 · 0 comments
Open

delay when closing nomodal sdk popup #345

chichke opened this issue Oct 15, 2024 · 0 comments

Comments

@chichke
Copy link

chichke commented Oct 15, 2024

Community post -> https://web3auth.io/community/t/no-modal-sdk-delay-when-closing-the-popup/8922/

Steps to reproduce

Please tell us exactly how to reproduce the problem you are running into.

  1. Click login
  2. Close modal ASAP
  3. Check the timeout time longer than 10 seconds means bad UX

Code sample

Minimal reproductible bug -> https://github.com/real-token/web3auth-bugreport

I have made a patch-package to negate this issue

Comes from this 10 seconds timeout which is unnecessary

A quick and dirty fix would be to set this value as 0, it's what I did and it works great

Before Fix

Before

After Fix

After fix

Latest version, all devices

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

2 participants
@chichke and others