Image reset button issues after image is resized: images don't look the right size on the back end
Describe the bug When an image is added and resized and then the Image Dimensions Reset button is pressed, the dimensions revert to their previous values, but the image does not look like the original size in the Gutenberg editor.
To Reproduce Steps to reproduce the behavior:
- Create a post.
- Add an image block.
- Use the image resize handles to resize the block from Full size.
- Use the Reset button under Image Dimensions to return it to the original size as shown in the Image Size dropdown.
Alternatively:
- Create a post.
- Add an image block.
- Change the image size using the Image Size dropdown to e.g. Medium and then select one of the % button sizes.
- Use the Reset button under Image Dimensions to return it to Medium size.
Expected behavior I would expect that the image would return to its original size in the block. While the image dimensions update back to what was originally chosen, the image does not look the correct size visually in the Gutenberg block. This is confusing.
If I preview or publish the post, images are the correct size on the front end.
Screenshots Some of the below images have had resizing but no resetting for comparison.






The front end:

Desktop (please complete the following information):
- OS: Windows 10 64-bit
- Browser: Firefox Quantum
- Version 61.0.2 (64-bit)
Additional context
- Gutenberg 3.5.0
Are you still experiencing this error with Gutenberg 4.1.0?
I tested on Chrome 69.0.3497.100 on Mac 10.13.6 and can't replicate so I'm wondering if the issue was fixed or if it's present only on Windows.
Video of what I found - http://cld.wthms.co/RSzhGM
I'm still having issues. See this screencap:

I'm using Firefox Quantum, 63.0.1, Windows 10 64-bit, Gutenberg 4.3.
Just tested this and it's still happening.
Testing
WordPress 5.7 beta 1 One active plugin - WordPress Beta Tester plugin. Theme: Twenty Twenty One local site Chrome OSX 10.15.7
Testing instructions:
- Create a post.
- Add an image block.
- Use the image resize handles to resize the block from Full size.
- Use the Reset button under Image Dimensions to return it to the original size as shown in the Image Size dropdown.
Made a new post. Added an Image block. Image size: Full Size. Dragged the image resize handles to resize the image. Clicked the Reset button to return to original size. (Does not work - I believe the Reset only affects the Image dimensions settings and not the resize handlebars.)
I think I accidentally fixed this issue via #29919. The fix should be part of the Gutenberg 10.4 release.
Current testing screen recording:
https://user-images.githubusercontent.com/240569/120218506-e3ca8180-c24a-11eb-9e88-6a953563f760.mp4
Great! We can then go ahead and close this issue.