aptos-labs/petra-wallet

[BUG] Petra wallet unstable connection status when refreshing the page

jillxuu opened this issue · 4 comments

Issue

When frequently refreshing pages that use Petra wallet connections, people noticing that wallet connection prompt is triggered from time to time. When prompt is triggered, await window.petra.isConnected() in the react inspector console will return false.

Issue Impact

This issue has affected ANS, Explorer, and Wallet Adapter, which use Petra as one of the wallet connection providers.

Screen.Recording.2023-02-23.at.6.17.26.PM.mov
Screen.Recording.2023-02-23.at.1.39.03.PM.mov

also,

  1. it doesn't happen on https://governance.aptosfoundation.org/ where we use only Petra
  2. it doesn't happen on local env (localhost) when using the adapter - local react and nextjs apps

I think this is resolved @0xmaayan @jillxuu @kent-white ? Can I close?

yes resolved