From d8c67ed6d73e65b0a557a9caca4bde31e960719a Mon Sep 17 00:00:00 2001 From: Michael Gratton Date: Mon, 21 Jan 2019 14:19:48 +1030 Subject: [PATCH] Fix message body heigt being inaccurate yet again --- ui/client-web-view.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/client-web-view.js b/ui/client-web-view.js index aee2438c..810e62eb 100644 --- a/ui/client-web-view.js +++ b/ui/client-web-view.js @@ -57,6 +57,9 @@ PageState.prototype = { // load completing. state.updatePreferredHeight(); state.loaded(); + // Still need to queue an update though since it still may + // be updated after this event has been fired. + queuePreferredHeightUpdate(); }); // Queues an update when the complete document is loaded.