-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[SharePoint Copilot Apps preview] " IFrame/container height remains same in expand and collapse mode #10989
Copy link
Copy link
Open
Labels
Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)area:spfx-copilot-appssharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Description
Activity
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)area:spfx-copilot-appssharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
SPFx version. 1.24.0-beta.2
Node.js version : v22.21.1
Describe the bug / error
When an SPFx Copilot Component is rendered inside Microsoft 365 Copilot, the component iframe appears to use the same height in both collapsed and expanded states.
Expanding the component does not trigger a resize of the iframe/container height. As a result, the expanded view is constrained to the same height as the collapsed view.
From browser inspection, the iframe is rendered with a fixed height value:
Steps to reproduce
Expected behavior
The iframe/container height should be recalculated when the component is expanded so that the expanded content can be fully displayed.