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 gets cut off on mobile when using Scale = Contain #2341

Closed
rodica-andronache opened this issue Aug 15, 2024 · 4 comments
Closed

Image gets cut off on mobile when using Scale = Contain #2341

rodica-andronache opened this issue Aug 15, 2024 · 4 comments
Assignees
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. regression Issue represents a change in behavior from a previous version that is not intended or desired..

Comments

@rodica-andronache
Copy link

Description

Image gets cut off on mobile when using the steps below:

Step-by-step reproduction instructions

  1. Add a Section block with two columns
  2. In one column add an Image block
  3. For the image, choose Aspect ration = Square 1:1 and Scale = Contain
  4. Check the page on Desktop -> everything is ok
  5. Check the page on Mobile -> the image is cut off
    This happens just with the latest version of Otter 3.0.0

Screenshots, screen recording, code snippet or Help Scout ticket

Screen.Recording.at.2024-08-15.at.11-26-24.mp4

https://secure.helpscout.net/conversation/2679584211/430107?viewId=212385

Environment info

No response

Is the issue you are reporting a regression

Yes, this is a regression.

@rodica-andronache rodica-andronache added the bug This label could be used to identify issues that are caused by a defect in the product. label Aug 15, 2024
@pirate-bot pirate-bot added customer report Indicates the request came from a customer. regression Issue represents a change in behavior from a previous version that is not intended or desired.. labels Aug 15, 2024
@vytisbulkevicius
Copy link
Contributor

@HardeepAsrani, I think maybe you worked on this. Would you like to check, or should I ask Girish?

@HardeepAsrani
Copy link
Member

@vytisbulkevicius Yes but that option was for Posts Block not the Image Block. We can first confirm if this is indeed an issue with Otter and works inside the default Columns.

@HardeepAsrani
Copy link
Member

Could be related to this too: #2331

@ineagu
Copy link
Contributor

ineagu commented Aug 16, 2024

@HardeepAsrani yes, this is a bug related to Otter, works for Columns block and it's fixed if overflow:hidden is removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. regression Issue represents a change in behavior from a previous version that is not intended or desired..
Projects
None yet
Development

No branches or pull requests

5 participants