Hi, I have an application that is meant to open a modal dialog when the user enters the issue view page.
I am using the jira:issueViewBackgroundScript that, when executed, creates a new @forge/bridge Modal and opens it. However, the size of my rendered modal is not what I expected it to be. The rendered content on covers part of the actual modal.
I have not set any fixed size on my modal, the body where the text content is has some basic padding and the footer with the button has absolute positioning to be at the bottom. I am able to fix the issue by going up a few divs in the DevTools and changing min-height:100% to height:100% on some hosted-resource-iframe-container div and then setting the next child div of that container to have height:100%.
I am guessing that this is not a proper way to do this… any help?
I’ve got an open support ticket for almost two months now. They can’t even bump this bug from minor to major. You literally cannot have 100% height content inside Forge modals. Ridiculous.
Is there any way to adjust the custom UI modal height now? for the ui that I am trying to design the small one is too thin and the medium one is too long, this is really annoying
The bug persists, which is quite puzzling. Everything works perfectly in a modal launched from a Confluence macro — you can achieve 100% height and create a beautiful dialog. However, the same custom UI in the issue panel looks terrible, with no apparent way to fix it. I’ve given up on trying to make it 100% height when it’s called from the issue panel…
Just have a look.
Confluence: