Replace ContentAction component with Custom UI modal

Hello! I wish to open the more actions (…) menu https://developer.atlassian.com/platform/forge/ui-kit-components/content-action/ with custom UI but when I connect it with custom UI there is a default modal dialog showing in the background. Is there a way to close this background? Here is how it looks like, thanks.

Hi @GbemiKadri,

It appears in the screenshot that you may be rendering an Atlaskit modal dialog inside of the custom UI Iframe? If that’s the case, currently this extension point in custom UI provides you with a blank modal that you are able to style yourself (you would have to create the modal view from the base Atlaskit components e.g. Button). This is similar to the behaviour of the unstyled dialog from Connect. I’ll reach out to the relevant people to get the documentation on this made more clear.

1 Like

Hello
look this : confluence-content-action-custom-ui

forge create --template confluence-content-action-custom-ui --directory confluence-content-action-custom-ui confluence-content-action-custom-ui;