Get viewport/window height in Forge

Is there a way to obtain the viewport/window height in Forge?
While I understand we do not have access to the DOM, this height is necessary for dynamically calculating the size of on-screen elements to provide a user-friendly experience.

Hi @OptimalSDLC,

I’m not sure there’s a way to get this information, particularly in UI Kit apps I don’t think there is a solution.

I had a look over at the Forge project on ecosystem.atlassian.net and it doesn’t look like there’s an existing suggestion for this functionality.

You should be able to create a suggestion ticket over there for this functionality so that it can be considered by the Forge team.

Cheers!
Mel