Open
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
New Teams, SPFX iframe to filebrowser.aspx
Describe the bug / error
in Classic Teams using an iframe in an SPFX Solution to filebrowser.aspx worked perfectly; in the new Teams Client Office Documents open neither inside the Online-Versions in the Teams Client or in the Client Application if the appropriate menu item is selected
Steps to reproduce
- create SPFX Webpart with Teams Enabled
- add an iframe pointing to filebrowser.aspx (just like the Teams built-in File View), see https://learn.microsoft.com/en-us/onedrive/developer/controls/file-browser/?view=odsp-graph-online
- Deploy to SharePoint App Catalog & Sync to Teams
- Try to open Word or Excel Documents - works in classic, but not in new Teams
Expected behavior
Files open normally