Skip to content
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

Duplicating an Image block not working consistently #25418

Closed
geriux opened this issue Sep 17, 2020 · 0 comments · Fixed by #25529 or wordpress-mobile/gutenberg-mobile#2652
Closed

Duplicating an Image block not working consistently #25418

geriux opened this issue Sep 17, 2020 · 0 comments · Fixed by #25529 or wordpress-mobile/gutenberg-mobile#2652
Assignees
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Status] In Progress Tracking issues with work in progress

Comments

@geriux
Copy link
Member

geriux commented Sep 17, 2020

Describe the bug
Sometimes when creating an Image block (without setting the size to full-screen) depending on the image size it would fill the entire space when it shouldn't since its smaller than the container.

If that block gets duplicated the new one will show correctly but it looks weird that the same block has two different sizes after duplicating.

To reproduce
Steps to reproduce the behavior:

Using this image

  • Open the app with metro running
  • Add an image block
  • Upload the image from above
  • Expect to see the image filling the entire space (since it doesn't happen always a few tries might be needed)
  • Once you have the image block with the image filling the block space, duplicate it
  • Expect to see the duplicated block with a smaller size

Expected behavior
The image block should show the correct size and duplicated ones should match

Editor version (please complete the following information):
Current version

Smartphone (please complete the following information):

  • Device: iPhone 11 Pro simulator
  • OS: 13
  • Demo App Version (develop)
@geriux geriux added the Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) label Sep 17, 2020
@geriux geriux self-assigned this Sep 17, 2020
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Status] In Progress Tracking issues with work in progress
Projects
None yet
1 participant