Uniswap / Uniswap/interface

Network connection issue popup shows when you tab away for too long.

Open
#3,704 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Bug Description
A clear and concise description of the bug.

Steps to Reproduce

  1. Go to app.uniswap.org
  2. connect to a network
  3. tab away for a while
  4. tab back after some number of minutes/blocks
  5. get "connection issue" popup
  6. wait a few seconds
  7. it disappears when it gets new blocks

Expected Behavior
The client should be aware that the user isn't actually on the page for a while and it needs to resync blocks

Additional Context
https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API#policies_in_place_to_aid_background_page_performance

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names app.uniswap.org and links to the Page Visibility API, but does not identify a repository file or test. Start by tracing the connection-issue popup and block synchronization when the tab becomes visible again. Done means returning after inactivity does not show a false connection warning while the client resynchronizes promptly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.