iFrame width custom width and height


I tried embedding an iframe, with <iframe width=“80%” height=“1300” but it doesn’t work.

Is it not supported in Glide’s webview?

So first question should be without the width and height customizations, does your iFrame embedding work?

Yes it works but I need to scroll inside a window.

I would suggest using inspect element to see if the custom width and height are indeed applied. I assume you want a smaller window to save screen space, but I’m not sure that’s possible.

Hi there, any updates to this topic? i am facing the same issue too. How do i size it so i do not have to scroll in the embedded app?

Have tried the different size settings?

Thanks, it did help that I dont have to scroll anymore.

However, there’s extra spacing at the bottom of the page, wonder if there’s any way / css code to remove this spacing? attached image

That’s not expected. Do you see that in the actual published app? Does it correct itself if you refresh the browser?

Hey Jeff,

Yes it’s still showing in my published app even after refresh. Attached an image.

Also, i was logged out and had to log back in my embedded app every time i close the app.

Thanks a ton for looking into this!

Looks like you’re running the App in a browser. Is it any different if you actually install it?

1 Like

Definitely seems like a bug. If you add a spacer component below the web embed, it might work. Seems like the web embed CSS is hijacking the rest of the page.

1 Like

Just for further clarification…those tabs are in the main app and not the embedded app, correct? Looks like you are embeddeing a glide app inside another one??? Looking at it closer, I suspect the tabs are actually in the embedded app…

1 Like

Hi Darren,

There’s no difference in the installed version of the app.

After adding spacer, still the same:

Yes the tabs you see at the bottom are from my embedded app.
My main app does not have bottom tabs.

Hmm, I guess I’m not sure then. Not necessarily a bug. It’s just not common to see someone emded a Glide app inside a Glide app. The embed would have to know your device screen height before loading, and I’m not sure if that’s something Glide can easily fix or determine in the fly.

I think you would have to submit this to Glide support to see if they can even do anything.

You may need to attempt to apply CSS to the web embed component itself.

This kind of begs the question…why not have the user open the original app instead of embedding it inside another app? Not seeing any tabs in your portal app, does it do anything else other than show a web embed?

1 Like

Thanks Jeff, i had submitted a ticket.

The portal app was meant for a closed group in my organisation, advisors, and has visibility options enabled.

It all started years when we had 2 apps, one client facing, one internal, as the data source were different.

Recently i rebuilt the client facing app into a glide page which had more features and i am now thinking for UIUX and a more streamlined process, to function with just 1 app instead. Thus the thought of embedding the advisor app into the client facing glide page.

Let me try out CSS but im a total newbie at that, is there a simple code i can add to remove the extra spacing? Thanks!