I’m developing an addon with ACE, and I have a problem with auto-resizing. I’m using this information about resize, which is similar to Jira but it’s work only for Jira Cloud -https://developer.atlassian.com/cloud/confluence/modules/page/.
In Confluence, I need to use AP.sizeToParent method for getting full height for iframe, but sometimes I need to use setTimeout for using this method after my React module mounted. How can I set full height for iframe before my page load?
When I’m not using this method iframe is always has minimal height and width.