OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
670 stars 96 forks source link

Add-In Display Rendering Issue - Taskpane Add-in Double Offset Obscures Document in Word Online on iOS devices [iOS, Chrome] #4060

Closed aeturneus closed 6 months ago

aeturneus commented 7 months ago

Provide required information needed to triage your issue

Opening a document in Word online with an add-in activated (e.g. in WOPI environment) causes a document rendering error. There is a display rendering issue in the document editor where the taskpane add-in is causing a wide, vertical, semi-transparent margin to appear across the document. This margin matches the width of the task pane and is obscuring the document, making the right portion of it unreadable. The margin starts from the top of the document and extends to the bottom, covering the majority of the editing space. It appears to be a z-index or overlay problem, where the presence of the add-in task pane is improperly influencing the layout of the document

Your Environment

Expected behavior

Expected the document to render using the full width of the document window, with the task pane alongside.

Current behavior

The document does not render using the full width of the document window. It is obscured by a background margin on the right side that matches the width of the taskpane (appears to be a double offset issue, where the document is offset by twice the width of the add-in taskpane)

Steps to reproduce

  1. Open a document in office online in iOS Chrome on iPad
  2. Enable the Divorcepath add-in
  3. The document display should be obscured

Link to live example(s)




Provide additional details




Context

Useful logs

Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends. IMG_0190

microsoft-github-policy-service[bot] commented 7 months ago

Thank you for letting us know about this issue. We will take a look shortly. Thanks.

zhenhuangMSFT commented 6 months ago

Hey @m-hellesen, could you take a look at this issue? Thanks!

aeturneus commented 6 months ago

@zhenhuangMSFT @m-hellesen issue seems to be resolved! Not able to reproduce this on the current builds.

zhenhuangMSFT commented 6 months ago

@aeturneus thanks for the update!