As per now it’s impossible to use the 100% of the container’s height in a globalPage as in connect with AP.sizeToParent.
Context:
- forge has a resizeObserver on the content which resizes iframe’s height
- setting height: 100vh is not handled by the resizer
- it’s not possible to find out the height of the container inside the sandboxed iframe, we can only see the iframe current size (set by the observer)
- No other option from forge/view or module configuration (no viewportSize support)
Use case:
A global page with undetermined height wants to use the available space (viewportSize = max?) and manage itself internally
This is critical for us as we deliver a board with gadgets which should use the available space, internally using overflow: initially board is empty and layout is static, no content based