Update Frame resizing logic.
This commit is contained in:
@@ -8,7 +8,7 @@ function setupResizeListener() {
|
||||
const RESIZE_CODE = 'resize:';
|
||||
|
||||
const resizeObserver = new ResizeObserver(entries => {
|
||||
const height = document.body.offsetHeight;
|
||||
const height = document.body.scrollHeight;
|
||||
window.parent.postMessage(RESIZE_CODE + JSON.stringify({height}), '*');
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user