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

Handler RecurrenceChanged will not trigger when i click the remove btn #4962

Open gwh18560 opened 2 weeks ago

gwh18560 commented 2 weeks ago

Your Environment

Current behavior

When I make a recurring , it will trigger the RecurrenceChanged handler and I can get data correctly.

But now I want to remove the recurring. I click the remove button and it will not trigger the RecurrenceChanged handler. This leads to me having no way to perform some operations after this event. image

here is the code

Office.onReady(() => {
  isOfficeInitialized = true;
  render(App);
}).then(() => {
  Office.context.mailbox.item.addHandlerAsync(
    Office.EventType.RecurrenceChanged,
    (eventArgs) => {
      console.log('eventArgs', eventArgs);
    },
    (result) => {
      console.log('result', result);
    }
  );
});

Expected behavior

I want to do something callback after I click the remove recurring button.

neprasad-microsoft commented 1 week ago

Hi @gwh18560 Thanks for reporting this issue regarding RecurrenceChanged Event. It has been put on our backlog. We unfortunately have no timelines to share at this point Internal tracking id: 4990421