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

Image block can be resized to be larger than viewport #26715

Closed
noisysocks opened this issue Nov 5, 2020 · 3 comments · Fixed by #45775
Closed

Image block can be resized to be larger than viewport #26715

noisysocks opened this issue Nov 5, 2020 · 3 comments · Fixed by #45775
Labels
[Block] Image Affects the Image Block [Type] Bug An existing feature does not function as intended

Comments

@noisysocks
Copy link
Member

From https://core.trac.wordpress.org/ticket/48418.


On drag to increase the size of the image. it going out of the viewport.
Please check the attached screenshot.

steps to reproduce.

  • Create a post
  • Add image block
  • drag the image block from side and bottom.
  • notice the issue

Thanks

@noisysocks noisysocks added [Type] Bug An existing feature does not function as intended [Block] Image Affects the Image Block labels Nov 5, 2020
@noisysocks
Copy link
Member Author

@devfle
Copy link
Contributor

devfle commented Nov 11, 2020

Hi @noisysocks! I will work on this 😄 - i think i have an CSS only solution for this issue.

@paaljoachim
Copy link
Contributor

That is great @devfle !

It looks like we have a few similar issues:
Image Block: Inconsistent image resizing
#17685

Image with size breaks out of editor block
Linking to comments from Isabel @tellthemachines #12168 (comment)

Other Image block issues that I believe has to do with CSS:

Such as
Aligning image right pushes toolbar under sidebar settings.
#27789

in Image Block the image size in drop down is not proper as per image dimension
#27198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants