OpenLoginSdk icon indicating copy to clipboard operation
OpenLoginSdk copied to clipboard

delay when closing nomodal sdk popup

Open chichke opened this issue 4 months ago • 0 comments

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

chichke avatar Oct 15 '24 16:10 chichke