OfficeDev / script-lab

Create, run and share your code directly from Office
MIT License
703 stars 161 forks source link

Uncaught Type Error - Outlook Web #1043

Closed muhbalhester closed 6 months ago

muhbalhester commented 7 months ago

Bug Report

Expected behavior:

The script should execute as expected when the user interact with the script.

Actual behavior:

When a function is executed the Office script returns an error.

Steps to Reproduce:

  1. Choose an snippet to run (can be one of the exmples snippet)
  2. Run it
  3. Interact with the snippet ui generated (click a button to execute a function)

Failure Logs:

An unexpected error has occurred. Uncaught TypeError: Right-hand side of 'instanceof' is not an object

Screenshot:

image

wandyezj commented 6 months ago

This should be fixed as of 2024-04-05. Browser caches might take a little bit to clear.