Skip to content
Snippets Groups Projects
Unverified Commit 10088680 authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Pass height in fit mode when embedded (#24391)

parent d0e12c4e
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ function sendMessage(message) {
function getFrameSpec() {
if (isFitViewportMode()) {
return { mode: "fit" };
return { mode: "fit", height: document.body.scrollHeight };
} else {
return { mode: "normal", height: document.body.scrollHeight };
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment