-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
INVALID-ISSUE-TEMPLATEIssue's body doesn't match any issue template.Issue's body doesn't match any issue template.Sev2-normalAn issue that may lead to users misunderstanding some limited risks they are takingAn issue that may lead to users misunderstanding some limited risks they are takingneeds-reproductionregression-prod-*Regression bug that was found in production in release *Regression bug that was found in production in release *staleIssues that have not had activity in the last 90 daysIssues that have not had activity in the last 90 daysteam-assetstype-bugSomething isn't workingSomething isn't working
Description
Describe the bug
On some occasions an unexpected token avatar is displayed. Possible cause: FlashList Cell recycling without proper component keys
Problem chain identified by cursor:
- FlashList recycles cells for performance (positions 0-3 cells reused for positions 10-13)
- TokenListItem receives new assetKey prop with different address/chainId ✅
- React re-renders TokenListItem with new data ✅
- asset object updates with new token data ✅
- Text components update because string children change ✅
- AvatarToken has no key prop - React thinks it's the same component instance ❌
- React Native Image component doesn't properly reload the image ❌
- Previous token's image persists in the recycled cell ❌
Expected behavior
- mUSD icon is the correct mUSD icon
Steps to reproduce
Rapid scroll on asset list
Error messages or log output
Detection stage
In production (default)
Version
7.57
Build type
None
Device
Unknown
Operating system
Other (please elaborate in the "Additional Context" section)
Metadata
Metadata
Assignees
Labels
INVALID-ISSUE-TEMPLATEIssue's body doesn't match any issue template.Issue's body doesn't match any issue template.Sev2-normalAn issue that may lead to users misunderstanding some limited risks they are takingAn issue that may lead to users misunderstanding some limited risks they are takingneeds-reproductionregression-prod-*Regression bug that was found in production in release *Regression bug that was found in production in release *staleIssues that have not had activity in the last 90 daysIssues that have not had activity in the last 90 daysteam-assetstype-bugSomething isn't workingSomething isn't working
Type
Projects
Status
To be triaged
