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

Wallet password prompt should appear above "Loading" overlay #55

Open
grishick opened this issue Feb 17, 2018 · 2 comments
Open

Wallet password prompt should appear above "Loading" overlay #55

grishick opened this issue Feb 17, 2018 · 2 comments

Comments

@grishick
Copy link
Contributor

When my DApp sends a transaction, I want to lock the screen with "Loading" or "Working" or some kind of similar overlay until the transaction succeeds or fails. However, if I call $service.loadingOn() before making the transaction call, then password prompt will appear underneath "Loading" overlay. If I do not call $service.loadingOn(), then the UI remains active and the user can navigate away from current screen before password prompt appears, because the password prompt may take from a second to a couple of minutes to appear.

@hacktar
Copy link
Contributor

hacktar commented Feb 17, 2018

couple of minutes? this is due to some lag in connection ...

@grishick
Copy link
Contributor Author

Whether 2 minutes or even 10 seconds, this is enough time for user to navigate away from the current page and then the password prompt will popup unexpectedly while user is doing something else. I think in mobile apps we should expect that network lag may happen any time.

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