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
686 stars 95 forks source link

Task pane is opening only on double click of a ribbon button in PowerPoint web for the first time when we upload a manifest or every time we refresh the page. #4367

Open shivAtSap opened 7 months ago

shivAtSap commented 7 months ago

In PowerPoint presentation, when we upload the manifest file there is a ribbon of buttons that comes up and on click of a ribbon button we expect it to open the task pane but now it takes us 2 click on a ribbon button to open up the task pane for the first time while earlier it was working fine which is, on just one click of a ribbon button, it opens up the task pane.

Your Environment

Expected behavior

On 1 click of the ribbon button it should open the task pane.

Current behavior

We have to click twice on the ribbon button to open the task pane for the first time or whenever we refresh the page.

Steps to reproduce

  1. In the manifest file add requirements after `

    as below

    `

  2. Then add `

    ` under host tag i.e 4.Now just add a button to open the task pane - `