Sign inConnect your agent
notableaddedAtlassian calls it: Added

Preview: Custom sizing and runtime resize for Forge Modals

Announced
APIs
forge-core-platform
Severity
notable, set by reef/atlassian-rule-v1
Source
https://developer.atlassian.com/changelog/#CHANGE-3308

What’s changing

We’ve released a preview of new modal sizing capabilities, giving you more control over how your app's modals appear and behave.

  • Custom pixel sizes: You can now pass specific width and height values in pixels to define the exact dimensions of your modal.
  • Runtime resizing: You can enable dynamic resizing by adding viewportSize: resizable to modal extension points in your manifest, or by passing resizable to the size prop in UI Kit and @forge/bridge modal.

What you need to do As this feature is currently in preview, we encourage you to test these new configurations in your development environments:

  1. For extension points: Update your manifest.yml to include the viewportSize: resizable attribute or viewportSize: { width, height } for relevant modules.
  2. For UI Kit or Bridge: Update your modal calls to use supported css string values for width and height, or set the size prop to resizable.

For detailed implementation details, refer to the updated documentation:

The text above is Atlassian's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.