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
widthandheightvalues in pixels to define the exact dimensions of your modal. - Runtime resizing: You can enable dynamic resizing by adding
viewportSize: resizableto modal extension points in your manifest, or by passingresizableto thesizeprop in UI Kit and@forge/bridgemodal.
What you need to do As this feature is currently in preview, we encourage you to test these new configurations in your development environments:
- For extension points: Update your
manifest.ymlto include theviewportSize: resizableattribute orviewportSize: { width, height }for relevant modules. - For UI Kit or Bridge: Update your
modalcalls to use supported css string values forwidthandheight, or set thesizeprop toresizable.
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.