metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

[BUG] Account section disappears when app is idle with in-app browser web pages opened or closed

Open SamuelSalas opened this issue 9 months ago • 1 comments

Description: The account selection drop-down disappears at the top of the Wallet screen while web pages are open and the user toggles between the in-app browser and the Wallet screen. The issue also occurs when the app is idle and reopened without any web pages open.

The glitch eventually resolves on its own toggling between screens.

Expected behavior: The accounts drop-down is always displayed at the top of the Wallet home screen page, allowing the user to switch between accounts.

Recordings:

https://github.com/MetaMask/metamask-mobile/assets/22276767/b4bf811a-a24a-41ea-bcf6-01dc5d96ab7d

https://github.com/MetaMask/metamask-mobile/assets/22276767/763b314a-a2c7-427f-a165-b9d690356471

SamuelSalas avatar May 17 '24 00:05 SamuelSalas

@sethkfman @SamuelSalas is this a new bug or is it already in prod?

gantunesr avatar May 21 '24 12:05 gantunesr

I have not being able to replicate this issue on prod v7.22. Compare with 7.23, which you just need to but the app on background to reproduce it.

SamuelSalas avatar May 22 '24 16:05 SamuelSalas

Thanks @SamuelSalas.

I'm still trying to pinpoint the culprit but the accounts team have not merged any PRs that could have caused this in this release. So far this seems like an issue introduced by another team.

gantunesr avatar May 22 '24 16:05 gantunesr

@SamuelSalas the only pr that I could think of that interacted with this screen is this one. This PR was merged and released in 7.18.0 which indicates to me that it is not the problem since you mentioned that you cannot reproduce on 7.22.

owencraston avatar May 22 '24 17:05 owencraston

Sentry Issue: METAMASK-MOBILE-2FWC

sentry-io[bot] avatar May 30 '24 15:05 sentry-io[bot]