[Bug]: Import NFT does not close the modal on Firefox
Describe the bug
When the user import a NFT on firefox, this it is added and the success message is displayed, but the import modal does not disapear
Expected behavior
The import modal to disappear when the NFT has been imported
Screenshots/Recordings
https://www.loom.com/share/2a67ba833c20408eb24877a4535f285a
Steps to reproduce
- Go to NFTs
- Import an NFT (remove one of the existing ones if needed) Current:
- Import NFT modal keeps opened Expected:
- Import NFT modal closes and NFT appears on the NFT list
Error messages or log output
Detection stage
In production (default)
Version
12.9.3
Build type
None
Browser
Firefox
Operating system
MacOS
hey @javiergarciavera I tried reproducing your bug on Firefox but without success. I’m on the main branch. Here’s a video link. Can I ask for confirmation?
@javiergarciavera do you think we can close this issue?
The issue is still present on v12.12.0, latest Runway build 57590:
https://github.com/user-attachments/assets/b978071d-bbc2-474a-928d-d36a0f490278
Present on v12.14.0
After importing an ERC1155 NFT:
- Import NFT modal does not close
- Switching networks does not work
- Removing NFT does not work
Until closing and reopening MM
https://github.com/user-attachments/assets/8fec42f7-f3df-497d-bf65-3d18b373db44
It does not apply for ERC721 NFTs:
https://github.com/user-attachments/assets/2d3555d9-8142-41c5-902f-cc8d11c628d1
Present in v12.18.0, for ERC1155 token.
Console error: Contract does not support ERC721 metadata interface.
After importing an ERC1155 NFT on Sepolia using MM in Firefox, NFT Modal still doesnt close automatically. Doesnt look to be present in Chrome/Brave when replicating. No issues with ERC721 NFTs