Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
iFrame Fit Height

Hi all,

Is there a way to make the iframe fit the height of the window / space available? I tried a few standard solutions but they don't seem to work inside the apps.

Failing that, is there a way to make the iframe height fit the content?

Thanks

Posted 4 years ago
Votes Newest

Answers 2


Hello,

In general, there is not a limit on the height of the iframe in any location. Thus having the iframe expand to as tall as it can go doesn't make sense. The iframe should automatically adjust height is needed I recommend reading the documentation here: https://cdn1.onlineaccess1.com/cdn/base/tecton/v1.15.0/Documentation/index.html#/capabilities/resizeIframe

-Trey

Posted 4 years ago
Trey Teter
124 × 2 Administrator

Hi,

I tried resizeIframe but it doesn't seem to do anything at all, also, my iframe is not resizing to fit contet automatically (as you have mentioned).

To clarify, I'm using an iframe INSIDE the app, here is my code (without the resize, which I wass calling when clicking a button):


<html lang="en" style="background-color: beige">
<body data-tecton-module>
<iframe src="some_website_link" style="width: 100%;"></iframe>
<script src="./index.js" type="module"></script>
</body>
</html>
149 Views
2 Answers
4 years ago
4 years ago
Tags