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

[Bug]: Import NFT does not close the modal on Firefox

Open javiergarciavera opened this issue 11 months ago • 6 comments

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

  1. Go to NFTs
  2. Import an NFT (remove one of the existing ones if needed) Current:
  3. Import NFT modal keeps opened Expected:
  4. 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

javiergarciavera avatar Jan 10 '25 16:01 javiergarciavera

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?

matteoscurati avatar Jan 20 '25 15:01 matteoscurati

@javiergarciavera do you think we can close this issue?

matteoscurati avatar Jan 30 '25 15:01 matteoscurati

The issue is still present on v12.12.0, latest Runway build 57590:

https://github.com/user-attachments/assets/b978071d-bbc2-474a-928d-d36a0f490278

Unik0rnMaggie avatar Feb 07 '25 09:02 Unik0rnMaggie

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

Unik0rnMaggie avatar Mar 12 '25 15:03 Unik0rnMaggie

Present in v12.18.0, for ERC1155 token.

Console error: Contract does not support ERC721 metadata interface.

Video

Unik0rnMaggie avatar May 13 '25 10:05 Unik0rnMaggie

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

Bullcoiner avatar Jun 03 '25 20:06 Bullcoiner