diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index e0c42219e..b9e3aec60 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1697,6 +1697,7 @@ var Keyboard = GObject.registerClass({ * we allow the OSK being smaller than 1/3rd of the monitor height * there. */ + this.height = -1; const forWidth = this.get_theme_node().adjust_for_width(monitor.width); const [, natHeight] = this.get_preferred_height(forWidth); this.height = Math.min(maxHeight, natHeight);