Hello, would someone be able to advise

Hello, would someone be able to advise the most reliable way to achieve dynamic resizing of AppEmbed? That is to say, the iframe should have a static height style in pixels which corresponds to the inner window height of the iframe contents so that we don't end up with two scrollbars in the top window. We've experimented with the frameParams and fullHeight props on AppEmbed but somehow only one of us is able to achieve the desired effect.
10 Replies
Elliott Saray
Elliott SarayOP5mo ago
Morning all, any advice on the above?
shikharTS
shikharTS5mo ago
I think customCSS might help you here. @jbc to help here
Elliott Saray
Elliott SarayOP5mo ago
Hiya, would customCSS not apply to contents within the iframe only? What we're looking to do is achieve a height in pixels on the iframe element itself.
jbc
jbc5mo ago
@Elliott Saray What you are looking for seems similar to the LiveboardEmbed fullHeight feature, which does expand the iframe to fit the content size. This isn't currently extended to AppEmbed though, but we could take this as a feature req and prioritize adding support for it. Since you would require to figure out the content height, the customCSS might not be much help on this. cc @utsav.kapoor
Elliott Saray
Elliott SarayOP5mo ago
Thanks, @jbc. I noticed fullHeight was an allowed prop on AppEmbed, is it ignored? It's odd because one of the people on our team sees it exactly as if this was working but the rest of us don't despite using the same browser and OS.
shikharTS
shikharTS5mo ago
It should not be ignored, let me check and get back
Elliott Saray
Elliott SarayOP5mo ago
Thanks, @shikharTS.
jbc
jbc5mo ago
@Elliott Saray right, apologies for the delayed response. fullHeight on AppEmbed is supported with only few of the supported pages, where Liveboard page is mainly in supported list. But, i noticed we have a bug which is causing liveboard page inside AppEmbed to not follow the fullHeight flag, I am making fix for this. For the rest of the App though, we would need to make additional changes to make them support this flag. I am creating an internal ticket to have this implementation added, and can share the timelines when that would be available.
Elliott Saray
Elliott SarayOP4mo ago
Thank you, @jbc! Any update on this, @jbc?
jbc
jbc4mo ago
@Elliott Saray We are working on the fix for Liveboard page not honoring the fullHeight flag inside AppEmbed. Can you create a feature request for if you want more support for this flag across Full App? cc @Nicolas

Did you find this page helpful?