Early Access Program: Forge UI fullscreen modal

Thanks for the note, we’re on it!

I wanted to also update this group that we’ve enabled a new resize capability and opened sizing options to allow for common inputs (e.g. px, rem, vh). See changelog here.

Does it work for Custom UI too?

As previously fullscreen option is working but not mentioned here https://developer.atlassian.com/platform/forge/custom-ui-bridge/modal/

Hi,

We’ve a custom built version of draw.io with fullscreen editors and deployed it to the following instance to show the data loss scenarios when the macro configuration modal is open fullscreen (there is no way to set the onClose) and also when the editor is open from the code (via the edit button on the viewer toolbar in page view mode) which have onClose but the iframe of the editor is gone and data is already lost (the onClose is executed in the opener context not in the editor context)

This space allows anonymous access and everyone is welcome to try it

Thanks

Did you find any solution to this ? We are also stuck with this issue.

I have recently learned that a full screen configuration macro when being closed via ESC or the X button that Atlassian provides outside the iFrame fires the callback you can register via:

import { view } from "@forge/bridge";
view.onClose(async () => {await stuff()})

This even blocks the closing behaviour and allows to persist data to prevent data loss.

Finally a solution that works

Thank you so much