Problems with height in the webviewer

I see we’ve got the possibility of InjectedJavaScript in the webviewer component.

I’m using the webviewer to load a bunch of static html files (uploaded to the app) and display them in various pages.

The problem is that the webviewer is kind of acting like an iFrame - it doesn’t pass its height into the app, so you either wind up with content cut off, or a fixed size frame.

Unless I’m missing something?

If not, I’d like to use javascript to get the height of a specific element in the html doc of the webview, and then set the height of the webview to that.

Any thoughts?

See scrFramework7 for data exchange between App and WebViewer. I’m afraid that there’s no simpler option, or need a web server timer polling

https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/

First of all, I’m sorry, I think I opened this topic in the wrong place before.

Hello, I’m using a js plugin. When I open it with chrome, it works normally, but when I use thunkable webview, it doesn’t open. Do you have any suggestions for this?


Can you share an example of what you mean here @ademserdal56e

Most well built websites look good in the webviewer.