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

Add loading animations until we get all the data loaded from the backend #227

Open
swankimz opened this issue Apr 18, 2023 · 0 comments
Open

Comments

@swankimz
Copy link
Contributor

Context
Sometimes the assets page does not show the list of assets in the dropdown menu inside the modal because of the loading time. In this case we should display a loading animation in the modal so that the user knows they have to wait.

Where is this occurring?
Assets, for Deposit and Withdraw

Steps to Reproduce
Current Behavior:

  1. Go to Assets
  2. Connect wallet (if not connected)
  3. You'll see Evmos price and the list of assets are loading
  4. While this data is loading, try and click "Deposit"
  5. You'll notice that the modal pops up and the drop-down menu of the chain doesn't work

Same behavior is happening with Withdraw

Screen.Recording.2023-04-17.at.15.56.58.mov

Expected Behavior
The dropdown menu should work. But given it doesn't, a workaround could be:

  • (ideal for now) a loading animation in the Deposit (and Withdraw) Modals - once the page is fully loaded, the loading animation should disappear and the user should be able to continue with their transaction
  • (quick and dirty fix) disable Deposit and Withdraw buttons until data is loaded
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

1 participant