ProtonMail / proton-contacts

React web application to manage ProtonMail contacts
54 stars 19 forks source link

The imported image from a specific file is not shown #361

Closed DeepSpaceHarbor closed 3 years ago

DeepSpaceHarbor commented 4 years ago

Summary I was doing some testing, and found a file where the imported image is not shown. This is how it looks like after import: image and if you try to manually edit the base64 value, the whole app will freeze.

Steps to reproduce

  1. Import the file. (contains personal image, I can't share the file in a public repo.)
  2. Open the contact. Notice the missing image.
  3. Click edit
  4. Grab 🍿
  5. Scroll to photo field and click edit
  6. Select select something from the text input field.
  7. Notice how the tab with the Proton Contacts is frozen.
  8. Enjoy your popcorn.

Additional info On v3, the import is working as expected.