Skip to content

Background images collapse in Outlook Office365 (Windows) until zoom level is changed #146

Description

@maooutlook

Email Client
Outlook (Office365 desktop app , latest version 2505)

Operating System
Windows 10

Expected Result
Background images in email sections should render correctly on initial load without requiring any user interaction.

Actual Result
Background images are initially collapsed/not properly rendered. However, when adjusting the zoom level (either increasing or decreasing, even returning to 100%), the background images suddenly render correctly. This suggests the issue might be related to the initial size calculation, and requires a resize trigger to render properly.

Steps to reproduce

  1. Send an HTML email containing sections with background images to an Office365 account
  2. Open the email in Windows 10 Office365 Outlook app
  3. Observe that background images are not rendering correctly
  4. Change the zoom level (any level)
  5. Notice that the background images suddenly render correctly

Screenshots

Screenshot 1: Initial render showing collapsed background images
Image

Screenshot 2: After zoom adjustment showing correct rendering
Image

Code sample
Example email can be viewed here: https://mjml.io/try-it-live/5K5_i4f5yv

MJML preview can view the complete HTML. If need to view the complete HTML file, you can view the following files
example.txt

Additional Notes

  • This issue appears to be specific to the Windows 10 Office365 Outlook app
  • The problem occurs consistently with background images in email sections
  • Any zoom level adjustment (even returning to 100%) triggers correct rendering
  • This suggests a potential issue with the initial size calculation or rendering trigger in the Outlook app

Metadata

Metadata

Assignees

No one assigned

    Labels

    OutlookWindows, macOS, iOS, Android and Outlook.com

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions