-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image upload preview is not correct with block editor #1853
Comments
👋 @zandyring ! Thanks so much for reporting this and filing such a thorough issue! 🙇 For some reason I'm having some trouble recreating the issue, so I wanted to see if you could answer a few follow-up questions I had (and don't feel like you need to investigate further if you don't know the answer to some of these already 😃):
|
|
I can't test right now, but I remember that the temporary upload IDs were incremental, so there's a chance those might be conflicting with actual IDs on the site |
FWIW, I did replicate the issue once, but having trouble replicating it again. |
This has been confirmed to indeed be at least part of the problem. I've listed @mchowning 's steps on this issue that successfully reproduce this case: wordpress-mobile/WordPress-Android#11239 (comment) |
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:
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):
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).
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: