[geary] Fix message body heigt being inaccurate yet again



commit d8c67ed6d73e65b0a557a9caca4bde31e960719a
Author: Michael Gratton <mike vee net>
Date:   Mon Jan 21 14:19:48 2019 +1030

    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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]