Skip to content

Image upload preview is not correct with block editor #1853

@zandyring

Description

@zandyring

Describe the bug
When an image is uploading, the preview (greyed out) shown is not the image that's uploading. It's showing me photos in the preview from 2012.

It doesn't happen in Aztec, just in the block editor.

Further, when I backed out of a draft during an upload (where the preview was wrong), then returned to the draft, the preview image (wrong) had actually uploaded into the post, not the photo I had chosen (I've only been able to do this once, and haven't been able to reproduce it).

To Reproduce
Steps to reproduce the behavior:

  1. Create a new post with the block editor enabled
  2. Tap through the steps to add a new image to the post (I "chose from device")
  3. As it uploads, the preview changes from the grey mountain icon to the wrong preview
  4. Once it is uploaded, the image is correct.

Expected behavior
I would expect the preview to match the image selected

Screenshots
This collage is reversed -- the image on the right side is the uploaded preview (from 2012), the image on the left is the actual selected image (from yesterday):
Screen Shot 2020-02-04 at 10 31 53 AM

In the next collage, this is the image where I selected a picture of a matcha latte, but the preview showed baby baptism again (2012), and I exited the draft and changed my settings (to turn off the block editor on new posts). Then I returned to the draft, and the 2012 image had uploaded somehow (I can't reproduce this).
Screen Shot 2020-02-04 at 10 33 50 AM

Smartphone (please complete the following information):

  • Device: Pixel 3XL
  • OS: Android 10
  • App Version: alpha-207

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions