From c9a8bd98843c561f56cfdc75af7e90f65b8af655 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 16 Jun 2016 10:27:16 +0530 Subject: [PATCH] ... --- src/pyj/popups.pyj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyj/popups.pyj b/src/pyj/popups.pyj index c63610130d..2e004b079a 100644 --- a/src/pyj/popups.pyj +++ b/src/pyj/popups.pyj @@ -106,4 +106,5 @@ class CompletionPopup: cs.top = 'auto' if upwards else y + 'px' cs.bottom = y + 'px' if upwards else 'auto' cs.width = width + 'px' + cs.maxHeight = ((y if upwards else window.innerHeight - y) - 10) + 'px' show_popup(self.container_id, *self.associated_widget_ids)