Skip to content

Two TaskPane created on OneNote #5470

@Acibi

Description

@Acibi

Provide required information needed to triage your issue

Your Environment

  • Platform [PC desktop, Mac, iOS, Office on the web]: OneNote on the Web
  • Host [Excel, Word, PowerPoint, etc.]: OneNote
  • Office version number: 16.0.18624.41001
  • Operating System: Mac
  • Browser (if using Office on the web): Google Chrome

Expected behavior

Upon displaying the TaskPane, OneNote should create only one <iframe>.

Current behavior

When displaying the TaskPane for the second or any subsequent calls, OneNote creates two <iframe> if there is a TaskPaneID define in the manifest.

Steps to reproduce:

  1. Have a AddIn with a button with a TaskPane action with TaskPaneID defined.
  2. Display the TaskPane.
  3. Close the TaskPane
  4. Display the TaskPane again

Every time the TaskPane is displayed, two <iframe> instances are created and both are cleared when the TaskPane is closed.

By omitting the TaskPaneID from the action in the manifest, only one <iFrame> is created.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions