Dyanically set iframe height

This commit is contained in:
manubo
2019-09-28 12:22:14 +02:00
parent 8767137066
commit 112df80e89
7 changed files with 83 additions and 73 deletions

View File

@@ -110,6 +110,9 @@ class App extends Component {
componentDidMount() {
window.addEventListener("keydown", this.handleKeyDown)
console.log(window.document.body.scrollHeight)
console.log(window.document.body)
parent.postMessage(window.document.body.scrollHeight, "*")
chrome.runtime.onMessage.addListener(this.handleSetFormErrors)
}