Styling modal with CSS for Forge Custom UI

Hi @kchan
Thank you for your answer!
I created second customUI app and add it to my manifest

resources:
  - key: main
    path: static/mainapp/build
    tunnel:
      port: 3000
  - key: modaldialog
    path: static/modaldialog/build
    tunnel:
      port: 3001

And open the modal from mainapp:

import {Modal} from "@forge/bridge";


            const modal = new Modal({
                resource: 'modaldialog',
                onClose: (payload) => {
                    console.log('onClose called with', payload);
                },
                size: 'x-large'
            });
            modal.open();

First of all I tried to create @atlaskit/modal-dialog, but modal was created inside Issue Glance instead of full page.

It’s very important for me. If you have any questions or need further information, please feel free to contact me.

1 Like